File fix_warnings.patch of Package sumf
--- src/sexi.cpp
+++ src/sexi.cpp
@@ -208,17 +208,17 @@
bool SEXI::RestoreBackupResources(const std::vector<std::pair<std::string, std::string> > &res, const std::vector<std::string> &versions, std::string &profile)
{
- ProgressExec(SEXEC::RESTOREBACKUP, profile, "", &res, &versions);
+ return ProgressExec(SEXEC::RESTOREBACKUP, profile, "", &res, &versions);
}
bool SEXI::AddBackupResources(const std::vector<std::pair<std::string, std::string> > &res, std::string &profile)
{
- ProgressExec(SEXEC::ADDBACKUP, profile, "", &res);
+ return ProgressExec(SEXEC::ADDBACKUP, profile, "", &res);
}
bool SEXI::RemoveBackupResources(const std::vector<std::pair<std::string, std::string> > &res, const std::vector<std::string> &versions, std::string &profile)
{
- ProgressExec(SEXEC::REMOVEBACKUP, profile, "", &res, &versions);
+ return ProgressExec(SEXEC::REMOVEBACKUP, profile, "", &res, &versions);
}
bool SEXI::ProgressExec( SEXEC::scpm_command_e cmd, std::string arg1, std::string arg2, const vector<pair<string, string> >* res, const vector<string> * ver )