diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2009-04-08 09:52:03 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2009-04-08 09:52:03 +0200 |
commit | 2c4652262c256ec99d1dcbff77038f561fb1b738 (patch) | |
tree | 996d15ea6a052144d47647ec775234b4baf5e496 /xsde | |
parent | 086b2bc1d5d189152b975e274351927b09a9fd79 (diff) |
Get rid of warnings
Diffstat (limited to 'xsde')
-rw-r--r-- | xsde/cxx/hybrid/default-value.cxx | 4 | ||||
-rw-r--r-- | xsde/cxx/hybrid/serializer-source.cxx | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/xsde/cxx/hybrid/default-value.cxx b/xsde/cxx/hybrid/default-value.cxx index 895c764..8c570cf 100644 --- a/xsde/cxx/hybrid/default-value.cxx +++ b/xsde/cxx/hybrid/default-value.cxx @@ -64,7 +64,7 @@ namespace CXX { Size n (s.size ()), i (0); - if (n > 0 && s[i] == '-' || s[i] == '+') + if (n > 0 && (s[i] == '-' || s[i] == '+')) i++; Size j (i); @@ -1200,7 +1200,7 @@ namespace CXX } Void CompareValue:: - traverse (SemanticGraph::Type& t) + traverse (SemanticGraph::Type&) { // This is a fall-back case where we handle all other types. // diff --git a/xsde/cxx/hybrid/serializer-source.cxx b/xsde/cxx/hybrid/serializer-source.cxx index b0c194e..b035246 100644 --- a/xsde/cxx/hybrid/serializer-source.cxx +++ b/xsde/cxx/hybrid/serializer-source.cxx @@ -1239,7 +1239,7 @@ namespace CXX os << "::_reset ();"; os << "for (; !this->" << state << ".empty (); " << - "this->" << state << ".pop ());"; + "this->" << state << ".pop ()) ;"; // Space is for g++-4.3. os << "}"; } |