Fix compiler warnings

This commit is contained in:
Alexander Mai 2014-04-27 18:56:54 +02:00
parent 9e9bc1e457
commit 0b26a1f27a
1 changed files with 2 additions and 2 deletions

View File

@ -70,7 +70,7 @@ public:
cppcheck.terminate();
}
}
void reportProgress(const std::string &filename, const char stage[], const std::size_t value) {
void reportProgress(const std::string &/*filename*/, const char /*stage*/[], const std::size_t /*value*/) {
if (std::time(0) > stopTime) {
if (pattern.empty())
foundLine = true;
@ -581,7 +581,7 @@ int main(int argc, char *argv[])
bool def = false;
bool maxconfigs = false;
for (int i = 1, includePathIndex = 0; i < argc; i++) {
for (int i = 1; i < argc; i++) {
if (strcmp(argv[i], "--stdout") == 0)
print = true;
else if (strcmp(argv[i], "--hang") == 0)