diff --git a/test/lgf_test.cc b/test/lgf_test.cc --- a/test/lgf_test.cc +++ b/test/lgf_test.cc @@ -117,7 +117,7 @@ digraphReader(d, input). run(); } - catch (FormatError& error) + catch (FormatError&) { ok = true; } @@ -131,7 +131,7 @@ graphReader(g, input). run(); } - catch (FormatError& error) + catch (FormatError&) { ok = true; } @@ -146,7 +146,7 @@ digraphReader(d, input). run(); } - catch (FormatError& error) + catch (FormatError&) { ok = true; } @@ -160,7 +160,7 @@ graphReader(g, input). run(); } - catch (FormatError& error) + catch (FormatError&) { ok = true; }