Fix missing return value.
authorMichael Andres <ma@suse.de>
Thu, 9 Jun 2011 07:35:30 +0000 (09:35 +0200)
committerMichael Andres <ma@suse.de>
Thu, 9 Jun 2011 07:36:19 +0000 (09:36 +0200)
zypp/ZYppCommitResult.h

index 96a0133..2ff53d0 100644 (file)
@@ -154,11 +154,11 @@ namespace zypp
       //@{
        /** Whether all steps were performed successfully (none skipped or error) */
        bool allDone() const
-       { transaction().actionEmpty( ~sat::Transaction::STEP_DONE );}
+       { return transaction().actionEmpty( ~sat::Transaction::STEP_DONE ); }
 
        /** Whether an error ocurred (skipped streps are ok). */
        bool noError() const
-       { return transaction().actionEmpty( sat::Transaction::STEP_ERROR );}
+       { return transaction().actionEmpty( sat::Transaction::STEP_ERROR ); }
       //@}
 
     public: