diff --git a/openr/common/MainUtil.cpp b/openr/common/MainUtil.cpp index 9f043f1e728..c4f201e78e1 100644 --- a/openr/common/MainUtil.cpp +++ b/openr/common/MainUtil.cpp @@ -26,7 +26,7 @@ waitForFibService(const folly::EventBase& signalHandlerEvb, int port) { openr::Fib::createFibClient(evb, client, port); try { switchState = client->sync_getSwitchRunState(); - } catch (const std::exception& e) { + } catch (const std::exception&) { } // sleep override std::this_thread::sleep_for(std::chrono::seconds(1));