From 372de925dff0474b981a424aaa7c2b6358623531 Mon Sep 17 00:00:00 2001 From: Kyle Isom Date: Mon, 9 Oct 2023 13:23:03 -0700 Subject: [PATCH] Clang-tidy warnings. --- bufferTest.cc | 4 +++- dictionaryTest.cc | 2 ++ tlvTest.cc | 2 ++ 3 files changed, 7 insertions(+), 1 deletion(-) diff --git a/bufferTest.cc b/bufferTest.cc index 1d64710..02c79e9 100644 --- a/bufferTest.cc +++ b/bufferTest.cc @@ -4,8 +4,10 @@ int -main() +main(int argc, char *argv[]) { + (void)argc; (void)argv; + klib::Buffer buffer("hlo, world"); std::cout << buffer.Contents() << std::endl; diff --git a/dictionaryTest.cc b/dictionaryTest.cc index bb6a3a5..7e9e537 100644 --- a/dictionaryTest.cc +++ b/dictionaryTest.cc @@ -35,6 +35,8 @@ testSetKV(Dictionary &pb, const char *k, uint8_t kl, const char *v, int main(int argc, const char *argv[]) { + (void)argc; (void)argv; + Arena arena; TLV::Record value; TLV::Record expect; diff --git a/tlvTest.cc b/tlvTest.cc index 2e1ea84..42d6e01 100644 --- a/tlvTest.cc +++ b/tlvTest.cc @@ -77,6 +77,8 @@ runSuite(Arena &backend, const char *label) int main(int argc, const char *argv[]) { + (void)argc; (void)argv; + Arena arenaStatic; Arena arenaMem;