[Lemon-commits] Peter Kovacs: Fix VS warnings (#429)

Lemon HG hg at lemon.cs.elte.hu
Mon Oct 24 21:52:33 CEST 2011


details:   http://lemon.cs.elte.hu/hg/lemon/rev/b96574ff36ec
changeset: 1087:b96574ff36ec
user:      Peter Kovacs <kpeter [at] inf.elte.hu>
date:      Sun Oct 23 22:49:04 2011 +0200
description:
	Fix VS warnings (#429)

diffstat:

 test/lgf_test.cc |  8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diffs (39 lines):

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;
       }



More information about the Lemon-commits mailing list