Cosmetics: Fix static analysis warnings

This commit is contained in:
Felipe Zimmerle
2015-10-27 10:54:57 -03:00
parent 11a1045f47
commit 7afc07914f
14 changed files with 39 additions and 30 deletions

View File

@@ -1014,7 +1014,6 @@ std::string limitTo(int amount, const std::string &str) {
std::string toHexIfNeeded(const std::string &str) {
std::stringstream res;
size_t pos;
for (int i = 0; i < str.size(); i++) {
int c = str.at(i);