summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
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;
}