about summary refs log tree commit diff
path: root/src/libexpr/parser.cc
diff options
context:
space:
mode:
authorEelco Dolstra <e.dolstra@tudelft.nl>2006-08-04T17·07+0000
committerEelco Dolstra <e.dolstra@tudelft.nl>2006-08-04T17·07+0000
commit1854f84e830a5282ae1ad1d0c85ed641af6bcf33 (patch)
treea28dae68b698b6c2ebcf9d56937b26e108010b9c /src/libexpr/parser.cc
parentdcff8cdb76b37da8978fecee3398d3b541d11ccb (diff)
* Fix a few warnings.
Diffstat (limited to 'src/libexpr/parser.cc')
-rw-r--r--src/libexpr/parser.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libexpr/parser.cc b/src/libexpr/parser.cc
index 7adbcb618e8c..9b3e9041dfc1 100644
--- a/src/libexpr/parser.cc
+++ b/src/libexpr/parser.cc
@@ -75,7 +75,7 @@ Expr unescapeStr(const char * s)
 {
     string t;
     char c;
-    while (c = *s++) {
+    while ((c = *s++)) {
         if (c == '\\') {
             assert(*s);
             c = *s++;