From 258a441750b62533d887330379946b058d2c5ebb Mon Sep 17 00:00:00 2001 From: Josh Blum Date: Wed, 31 Jul 2013 19:43:41 -0700 Subject: gras: take care of some misc warnings --- PMC | 2 +- lib/element.cpp | 2 +- python/gras/GRAS_PyBlock.i | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/PMC b/PMC index 0a3e7be..0a0c1b6 160000 --- a/PMC +++ b/PMC @@ -1 +1 @@ -Subproject commit 0a3e7bea1fc39de71efc895b295549f1e022c683 +Subproject commit 0a0c1b62daa6340a9b634fa62fec6c2efbcfbe6b diff --git a/lib/element.cpp b/lib/element.cpp index 43a6d06..9f3c5fb 100644 --- a/lib/element.cpp +++ b/lib/element.cpp @@ -28,7 +28,7 @@ Element::Element(const std::string &name) this->set_uid(uid); break; } - catch(const std::invalid_argument &ex) + catch(const std::invalid_argument &) { which++; } diff --git a/python/gras/GRAS_PyBlock.i b/python/gras/GRAS_PyBlock.i index d7c67f8..ed4759f 100644 --- a/python/gras/GRAS_PyBlock.i +++ b/python/gras/GRAS_PyBlock.i @@ -25,7 +25,7 @@ { $action } - catch (const Swig::DirectorException &e) + catch (const Swig::DirectorException &) { SWIG_fail; } -- cgit