about summary refs log tree commit diff homepage
path: root/lib/SMT
diff options
context:
space:
mode:
authorDaniel Dunbar <daniel@zuster.org>2009-06-09 00:49:49 +0000
committerDaniel Dunbar <daniel@zuster.org>2009-06-09 00:49:49 +0000
commite10e81a79070995de8d41caad5dad448a8a3c8be (patch)
treeec49e3c5fc6772fddac1292a4d86ac03c661545c /lib/SMT
parentfa01d5e65092ad7a502ff8c76281a45226f6bb62 (diff)
downloadklee-e10e81a79070995de8d41caad5dad448a8a3c8be.tar.gz
Fix a compiler warning
git-svn-id: https://llvm.org/svn/llvm-project/klee/trunk@73106 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/SMT')
-rw-r--r--lib/SMT/smtlib.lex2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/SMT/smtlib.lex b/lib/SMT/smtlib.lex
index 25032eeb..75986a99 100644
--- a/lib/SMT/smtlib.lex
+++ b/lib/SMT/smtlib.lex
@@ -54,7 +54,7 @@ static int smtlibinput(std::istream& is, char* buf, int size) {
     if(partialStr)
       is.clear();
 
-    for(res = 0; res<size && buf[res] != 0; res++);
+    for(res = 0; res<size && buf[res] != 0; res++) ;
     if(res == size) smtliberror("Lexer bug: overfilled the buffer");
     if(!partialStr) { // Insert \n into the buffer
       buf[res++] = '\n';