Fix some warnings reported from msvc

This commit is contained in:
Torsten Dreyer
2016-05-02 20:54:28 +02:00
parent b5dace5f08
commit 87eaec3ce7
4 changed files with 6 additions and 6 deletions
+2 -2
View File
@@ -253,7 +253,7 @@ public:
// already exists on disk
parseDirIndex(children);
std::sort(children.begin(), children.end());
} catch (sg_exception& e) {
} catch (sg_exception& ) {
// parsing cache failed
children.clear();
}
@@ -775,7 +775,7 @@ HTTPRepository::failure() const
st.stamp();
_directory->updateChildrenBasedOnHash();
SG_LOG(SG_TERRASYNC, SG_INFO, "after update of:" << _directory->absolutePath() << " child update took:" << st.elapsedMSec());
} catch (sg_exception& e) {
} catch (sg_exception& ) {
_directory->failedToUpdate(AbstractRepository::REPO_ERROR_IO);
}
} else if (responseCode() == 404) {