diff options
author | Eelco Dolstra <e.dolstra@tudelft.nl> | 2006-08-04 17:07:13 +0000 |
---|---|---|
committer | Eelco Dolstra <e.dolstra@tudelft.nl> | 2006-08-04 17:07:13 +0000 |
commit | 1854f84e830a5282ae1ad1d0c85ed641af6bcf33 (patch) | |
tree | a28dae68b698b6c2ebcf9d56937b26e108010b9c /src/libexpr/nixexpr.hh | |
parent | dcff8cdb76b37da8978fecee3398d3b541d11ccb (diff) |
* Fix a few warnings.
Diffstat (limited to 'src/libexpr/nixexpr.hh')
-rw-r--r-- | src/libexpr/nixexpr.hh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libexpr/nixexpr.hh b/src/libexpr/nixexpr.hh index 3fd22ecfe..28ac35e60 100644 --- a/src/libexpr/nixexpr.hh +++ b/src/libexpr/nixexpr.hh @@ -50,7 +50,7 @@ struct Substitution { Expr x; for (const Substitution * s(this); s; s = s->prev) - if (x = s->map->get(name)) return x; + if ((x = s->map->get(name))) return x; return 0; } }; |