Skip to content

Commit

Permalink
fixed missing return in openHeader() (danmar#281)
Browse files Browse the repository at this point in the history
  • Loading branch information
firewave authored Dec 8, 2022
1 parent 8abab5c commit 45db93b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion simplecpp.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2871,7 +2871,7 @@ static std::string openHeader(std::ifstream &f, const simplecpp::DUI &dui, const

ret = openHeaderRelative(f, sourcefile, header);
if (ret.empty())
openHeaderIncludePath(f, dui, header);
return openHeaderIncludePath(f, dui, header);
return ret;
}

Expand Down

0 comments on commit 45db93b

Please sign in to comment.