Remove implicit Poolitem to bool conversion.
authorMichael Andres <ma@suse.de>
Thu, 2 May 2013 09:02:10 +0000 (11:02 +0200)
committerMichael Andres <ma@suse.de>
Thu, 2 May 2013 09:02:33 +0000 (11:02 +0200)
src/search.cc

index f74bed4..205e790 100644 (file)
@@ -669,7 +669,7 @@ static void list_product_table(Zypper & zypper)
     if (!s->installedEmpty())
       installed = s->installedObj();
 
-    bool missedInstalled = installed; // if no available hits, we need to print it
+    bool missedInstalled( installed ); // if no available hits, we need to print it
 
     // show available objects
     for_(it, s->availableBegin(), s->availableEnd())