diff options
author | Michael Shepanski <michael@codesynthesis.com> | 2014-10-13 11:23:07 +0200 |
---|---|---|
committer | Michael Shepanski <michael@codesynthesis.com> | 2014-10-13 11:23:07 +0200 |
commit | b86121664e0841b05ab6a597755a37fe110aedbc (patch) | |
tree | d28e971c134a41dfa1f044f844aa1b1039d6bf6c /cli/semantics/unit.txx | |
parent | 6c3e61edcfaae6f35f7f5cacceb806d351c08241 (diff) | |
download | cli-b86121664e0841b05ab6a597755a37fe110aedbc.tar.gz cli-b86121664e0841b05ab6a597755a37fe110aedbc.tar.xz cli-b86121664e0841b05ab6a597755a37fe110aedbc.zip |
Get rid of GCC warning
Diffstat (limited to 'cli/semantics/unit.txx')
-rw-r--r-- | cli/semantics/unit.txx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cli/semantics/unit.txx b/cli/semantics/unit.txx index f884e18..6d70756 100644 --- a/cli/semantics/unit.txx +++ b/cli/semantics/unit.txx @@ -28,7 +28,7 @@ namespace semantics scope::names_iterator_pair ip (s->find (n)); for (s = 0; ip.first != ip.second; ++ip.first) - if (s = dynamic_cast<scope*> (&ip.first->named ())) + if ((s = dynamic_cast<scope*> (&ip.first->named ()))) break; if (s == 0) @@ -69,7 +69,7 @@ namespace semantics else { for (s = 0; ip.first != ip.second; ++ip.first) - if (s = dynamic_cast<scope*> (&ip.first->named ())) + if ((s = dynamic_cast<scope*> (&ip.first->named ()))) break; if (s == 0) |