Skip to content

Commit

Permalink
Fix unused variable in benchmark
Browse files Browse the repository at this point in the history
GCC complains that the state variable is unused in benchmark setup when
compiling in debug mode.
  • Loading branch information
micbou committed Jun 13, 2017
1 parent 53e4a4e commit cd27d76
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cpp/ycm/benchmarks/IdentifierCompleter_bench.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ namespace YouCompleteMe {

class IdentifierCompleterFixture : public benchmark::Fixture {
public:
void SetUp( const benchmark::State& state ) {
void SetUp( const benchmark::State& ) {
CandidateRepository::Instance().ClearCandidates();
}
};
Expand Down

0 comments on commit cd27d76

Please sign in to comment.