enable -Wunused (#280)

master
Adeeb Shihadeh 2020-07-08 00:39:35 -07:00 committed by GitHub
parent 55e9af71fc
commit 3cfb5c7778
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 1 additions and 1 deletions

View File

@ -33,6 +33,7 @@ env = Environment(
"-g",
"-fPIC",
"-O2",
"-Wunused",
"-Werror",
] + ccflags_asan,
LDFLAGS=ldflags_asan,

View File

@ -171,7 +171,6 @@ CANParser::CANParser(int abus, const std::string& dbc_name,
void CANParser::UpdateCans(uint64_t sec, const capnp::List<cereal::CanData>::Reader& cans) {
int msg_count = cans.size();
uint64_t p;
DEBUG("got %d messages\n", msg_count);