Skip to content

Commit

Permalink
StandardCompiler: Fix bad if indent triggering a warning
Browse files Browse the repository at this point in the history
  • Loading branch information
cameel committed Oct 1, 2024
1 parent 6bee17d commit a4fa886
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libsolidity/interface/StandardCompiler.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1434,7 +1434,7 @@ Json StandardCompiler::compileSolidity(StandardCompiler::InputsAndSettings _inpu
Json output;

if (errors.size() > 0)
output["errors"] = std::move(errors);
output["errors"] = std::move(errors);

if (!compilerStack.unhandledSMTLib2Queries().empty())
for (std::string const& query: compilerStack.unhandledSMTLib2Queries())
Expand Down

0 comments on commit a4fa886

Please sign in to comment.