diff options
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 3fd22ecfed57..28ac35e604ec 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; } }; |