Skip to content

Commit

Permalink
Fix unused variable warning
Browse files Browse the repository at this point in the history
Signed-off-by: Addisu Z. Taddese <[email protected]>
  • Loading branch information
azeey committed Nov 8, 2023
1 parent 8e7826e commit 32419aa
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/SimulationRunner.cc
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,9 @@ struct MaybeGilScopedRelease
#else
struct MaybeGilScopedRelease
{
// The empty constructor is needed to avoid an "unused variable" warning
// when an instance of this class is used.
MaybeGilScopedRelease(){}
};
#endif
}
Expand Down

0 comments on commit 32419aa

Please sign in to comment.