make compiler happy about /* withing comments
authorJan Kupec <jkupec@suse.cz>
Tue, 25 Sep 2007 16:00:30 +0000 (16:00 +0000)
committerJan Kupec <jkupec@suse.cz>
Tue, 25 Sep 2007 16:00:30 +0000 (16:00 +0000)
src/zypper-source-callbacks.h
src/zypper-sources.cc

index 98c7e26..83a1da2 100644 (file)
@@ -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);
index 7289aeb..bdc7095 100644 (file)
@@ -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*//* );
 }
 */
 // ----------------------------------------------------------------------------