Skip to content

Commit

Permalink
[DO NOT MERGE] Introduce spurious compilation warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
eguiraud committed Nov 3, 2023
1 parent d65a8b3 commit 9e42d2f
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/correction.cc
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,8 @@ class correction::JSONObject {
const rapidjson::Value& getRequiredValue(const char * key) const {
const auto it = json_.FindMember(key);
if ( it != json_.MemberEnd() ) {
int x = 42.f;
x + 42;
return it->value;
}
throw std::runtime_error(
Expand Down

0 comments on commit 9e42d2f

Please sign in to comment.