From 2a9fb23b556e55c04e691c5c5b8ec7c49a8b5158 Mon Sep 17 00:00:00 2001 From: Jan Kupec Date: Tue, 25 Sep 2007 16:00:30 +0000 Subject: [PATCH] make compiler happy about /* withing comments --- src/zypper-source-callbacks.h | 8 ++++---- src/zypper-sources.cc | 4 ++-- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/src/zypper-source-callbacks.h b/src/zypper-source-callbacks.h index 98c7e26..83a1da2 100644 --- a/src/zypper-source-callbacks.h +++ b/src/zypper-source-callbacks.h @@ -39,7 +39,7 @@ namespace ZmartRecipients cout << "Determining " << url << " source type..." << endl; } - virtual void failedProbe( const zypp::Url &/*url*//*, const std::string & type ) + virtual void failedProbe( const zypp::Url & url*//*, const std::string & type ) { cout << ".. not " << type << endl; } @@ -49,7 +49,7 @@ namespace ZmartRecipients cout << url << " is type " << type << endl; } - virtual void finish(const zypp::Url &/*url*//*, Error error, const std::string & reason ) + virtual void finish(const zypp::Url & url*//*, Error error, const std::string & reason ) { if ( error == INVALID ) { @@ -58,10 +58,10 @@ namespace ZmartRecipients } } - virtual bool progress(const zypp::Url &/*url*//*, int /*value*//*) + virtual bool progress(const zypp::Url & url*//*, int value*//*) { return true; } - virtual Action problem( const zypp::Url &/*url*//*, Error error, const std::string & description ) + virtual Action problem( const zypp::Url & url*//*, Error error, const std::string & description ) { display_done (); display_error (error, description); diff --git a/src/zypper-sources.cc b/src/zypper-sources.cc index 7289aeb..bdc7095 100644 --- a/src/zypper-sources.cc +++ b/src/zypper-sources.cc @@ -1132,7 +1132,7 @@ void rename_source( const std::string& anystring, const std::string& newalias ) cerr_vv << "Constructing SourceManager" << endl; SourceManager_Ptr manager = SourceManager::sourceManager(); cerr_vv << "Restoring SourceManager" << endl; - manager->restore (gSettings.root_dir, true /*use_cache*//*); + manager->restore (gSettings.root_dir, true use_cache*//*); Source_Ref src; @@ -1190,7 +1190,7 @@ void rename_source( const std::string& anystring, const std::string& newalias ) } cerr_vv << "Storing source data" << endl; - manager->store( gSettings.root_dir, true /*metadata_cache*//* ); + manager->store( gSettings.root_dir, true metadata_cache*//* ); } */ // ---------------------------------------------------------------------------- -- 2.7.4