summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMorgan Deters <mdeters@cs.nyu.edu>2013-06-27 17:06:56 -0400
committerMorgan Deters <mdeters@cs.nyu.edu>2013-06-27 17:06:56 -0400
commitd2a89a3f1f2529fa5dafbbd2974d2f8745b9bb46 (patch)
treeac9b5fc1c3eb11477924e88e0088702efbc0a379
parent38a13fe227e6b59a49509d4b5ae6618b4c14937a (diff)
Fix minor warnings found by recent clang/gcc.
-rw-r--r--src/expr/attribute.h2
-rw-r--r--src/parser/smt2/Smt2.g2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/expr/attribute.h b/src/expr/attribute.h
index 969843ddd..721a09403 100644
--- a/src/expr/attribute.h
+++ b/src/expr/attribute.h
@@ -446,7 +446,7 @@ struct HasAttribute<false, AttrKind> {
static inline bool hasAttribute(const AttributeManager* am,
NodeValue* nv) {
typedef typename AttrKind::value_type value_type;
- typedef KindValueToTableValueMapping<value_type> mapping;
+ //typedef KindValueToTableValueMapping<value_type> mapping;
typedef typename getTable<value_type, AttrKind::context_dependent>::
table_type table_type;
diff --git a/src/parser/smt2/Smt2.g b/src/parser/smt2/Smt2.g
index 190eb19ba..2dc022f0f 100644
--- a/src/parser/smt2/Smt2.g
+++ b/src/parser/smt2/Smt2.g
@@ -732,7 +732,7 @@ symbolicExpr[CVC4::SExpr& sexpr]
term[CVC4::Expr& expr, CVC4::Expr& expr2]
@init {
Debug("parser") << "term: " << AntlrInput::tokenText(LT(1)) << std::endl;
- Kind kind;
+ Kind kind = kind::NULL_EXPR;
Expr op;
std::string name;
std::vector<Expr> args;
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback