diff --git a/Controller.cpp b/Controller.cpp index d3c9205..0ce82f7 100644 --- a/Controller.cpp +++ b/Controller.cpp @@ -37,7 +37,7 @@ void Controller::handleTransaction() else enableACTLED(false); } - catch (runtime_error) + catch (runtime_error& ignored) {} auto msg = U2FMessage::readNonBlock(); diff --git a/Streams.cpp b/Streams.cpp index df2307d..32c8c7f 100644 --- a/Streams.cpp +++ b/Streams.cpp @@ -133,7 +133,7 @@ FILE* initHTML(FILE *fPtr, const string &title) "\t\t