Skip to content

Commit 45db93b

Browse files
authored
fixed missing return in openHeader() (#281)
1 parent 8abab5c commit 45db93b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

simplecpp.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2871,7 +2871,7 @@ static std::string openHeader(std::ifstream &f, const simplecpp::DUI &dui, const
28712871

28722872
ret = openHeaderRelative(f, sourcefile, header);
28732873
if (ret.empty())
2874-
openHeaderIncludePath(f, dui, header);
2874+
return openHeaderIncludePath(f, dui, header);
28752875
return ret;
28762876
}
28772877

0 commit comments

Comments
 (0)