warning: add parenthesis
authorDuncan Mac-Vicar P <dmacvicar@suse.de>
Mon, 7 Feb 2011 11:47:21 +0000 (12:47 +0100)
committerDuncan Mac-Vicar P <dmacvicar@suse.de>
Wed, 16 Feb 2011 13:24:17 +0000 (14:24 +0100)
zypp/PluginFrame.cc

index 02699a8..7ab4c1d 100644 (file)
@@ -290,8 +290,8 @@ namespace zypp
 
   bool operator==( const PluginFrame & lhs, const PluginFrame & rhs )
   {
-    return lhs._pimpl == rhs._pimpl
-        || lhs.command() == rhs.command() && lhs.headerList() == rhs.headerList() && lhs.body() == rhs.body();
+    return ( lhs._pimpl == rhs._pimpl )
+        || (( lhs.command() ==  rhs.command() ) && ( lhs.headerList() == rhs.headerList() ) && ( lhs.body() == rhs.body() ));
   }
 
   /////////////////////////////////////////////////////////////////