diff --git a/client/app.cpp b/client/app.cpp index 3fb3fdee5c..96209f1ae4 100644 --- a/client/app.cpp +++ b/client/app.cpp @@ -310,7 +310,7 @@ void procinfo_show(PROC_MAP& pm) { PROCINFO pi; pi.clear(); PROC_MAP::iterator i; - for (i=pm.begin(); i!=pm.end(); i++) { + for (i=pm.begin(); i!=pm.end(); ++i) { PROCINFO& p = i->second; msg_printf(NULL, MSG_INFO, "%d %s: boinc? %d low_pri %d (u%f k%f)", diff --git a/client/result.cpp b/client/result.cpp index 8a278486fc..71177928db 100644 --- a/client/result.cpp +++ b/client/result.cpp @@ -690,7 +690,7 @@ void print_old_results(MIOFILE& mf) { ores.completed_time, ores.create_time ); - i++; + ++i; } mf.printf("\n"); }