summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorKshitij Bansal <kshitij@cs.nyu.edu>2014-04-19 16:45:13 -0400
committerKshitij Bansal <kshitij@cs.nyu.edu>2014-04-19 19:43:45 -0400
commitc0314861bfae3fac04bcd60ac42a3592bb73441f (patch)
tree42ebc95c7d71b5e1f0407c49062dc559f3475068 /src
parentf26477575d4328104ee6882c5d7d55740964543d (diff)
fix warnings in strings/
Diffstat (limited to 'src')
-rw-r--r--src/theory/strings/theory_strings_type_rules.h6
1 files changed, 0 insertions, 6 deletions
diff --git a/src/theory/strings/theory_strings_type_rules.h b/src/theory/strings/theory_strings_type_rules.h
index d171c739d..e4778e86c 100644
--- a/src/theory/strings/theory_strings_type_rules.h
+++ b/src/theory/strings/theory_strings_type_rules.h
@@ -307,7 +307,6 @@ public:
throw (TypeCheckingExceptionPrivate, AssertionException) {
if( check ) {
TNode::iterator it = n.begin();
- TNode::iterator it_end = n.end();
TypeNode t = (*it).getType(check);
if (!t.isRegExp()) {
throw TypeCheckingExceptionPrivate(n, "expecting regexp terms");
@@ -323,7 +322,6 @@ public:
throw (TypeCheckingExceptionPrivate, AssertionException) {
if( check ) {
TNode::iterator it = n.begin();
- TNode::iterator it_end = n.end();
TypeNode t = (*it).getType(check);
if (!t.isRegExp()) {
throw TypeCheckingExceptionPrivate(n, "expecting regexp terms");
@@ -339,7 +337,6 @@ public:
throw (TypeCheckingExceptionPrivate, AssertionException) {
if( check ) {
TNode::iterator it = n.begin();
- TNode::iterator it_end = n.end();
TypeNode t = (*it).getType(check);
if (!t.isRegExp()) {
throw TypeCheckingExceptionPrivate(n, "expecting regexp terms");
@@ -355,7 +352,6 @@ public:
throw (TypeCheckingExceptionPrivate, AssertionException) {
if( check ) {
TNode::iterator it = n.begin();
- TNode::iterator it_end = n.end();
char ch[2];
for(int i=0; i<2; ++i) {
@@ -422,7 +418,6 @@ public:
throw (TypeCheckingExceptionPrivate, AssertionException) {
if( check ) {
TNode::iterator it = n.begin();
- TNode::iterator it_end = n.end();
TypeNode t = (*it).getType(check);
if (!t.isString()) {
throw TypeCheckingExceptionPrivate(n, "expecting string terms");
@@ -441,7 +436,6 @@ public:
throw (TypeCheckingExceptionPrivate, AssertionException) {
if( check ) {
TNode::iterator it = n.begin();
- TNode::iterator it_end = n.end();
TypeNode t = (*it).getType(check);
if (!t.isString()) {
throw TypeCheckingExceptionPrivate(n, "expecting string terms");
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback