Author: mlandres Date: Thu Oct 9 13:32:19 2008 New Revision: 11275 URL: http://svn.opensuse.org/viewcvs/zypp?rev=11275&view=rev Log: avoid writing empty loglines Modified: trunk/libzypp/zypp/PathInfo.cc Modified: trunk/libzypp/zypp/PathInfo.cc URL: http://svn.opensuse.org/viewcvs/zypp/trunk/libzypp/zypp/PathInfo.cc?rev=11275&r1=11274&r2=11275&view=diff ============================================================================== --- trunk/libzypp/zypp/PathInfo.cc (original) +++ trunk/libzypp/zypp/PathInfo.cc Thu Oct 9 13:32:19 2008 @@ -404,9 +404,9 @@ closedir( dp ); if ( ::rmdir( dir.c_str() ) < 0 ) - return _Log_Result( errno ); + return errno; - return _Log_Result( 0 ); + return 0; } /////////////////////////////////////////////////////////////////// int recursive_rmdir( const Pathname & path ) @@ -422,7 +422,7 @@ return _Log_Result( ENOTDIR ); } - return recursive_rmdir_1( path ); + return _Log_Result( recursive_rmdir_1( path ) ); } /////////////////////////////////////////////////////////////////// -- To unsubscribe, e-mail: zypp-commit+unsubscribe@opensuse.org For additional commands, e-mail: zypp-commit+help@opensuse.org