summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJosh Blum2013-07-31 19:43:41 -0700
committerJosh Blum2013-07-31 19:43:41 -0700
commit258a441750b62533d887330379946b058d2c5ebb (patch)
treed8e6790ef1f320a1a026d9636c1948ba730df706
parent66e0614b1867045d5dc3bf7ba997b9ed79546adb (diff)
downloadsandhi-258a441750b62533d887330379946b058d2c5ebb.tar.gz
sandhi-258a441750b62533d887330379946b058d2c5ebb.tar.bz2
sandhi-258a441750b62533d887330379946b058d2c5ebb.zip
gras: take care of some misc warnings
m---------PMC0
-rw-r--r--lib/element.cpp2
-rw-r--r--python/gras/GRAS_PyBlock.i2
3 files changed, 2 insertions, 2 deletions
diff --git a/PMC b/PMC
-Subproject 0a3e7bea1fc39de71efc895b295549f1e022c68
+Subproject 0a0c1b62daa6340a9b634fa62fec6c2efbcfbe6
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;
}