[PATCH] cppcheck: post- to pre- *crement change.

Kevin Hunter hunteke at earlham.edu
Thu Feb 10 13:24:34 PST 2011


---
 crashrep/source/win32/soreport.cpp |    4 +---
 1 files changed, 1 insertions(+), 3 deletions(-)

diff --git a/crashrep/source/win32/soreport.cpp b/crashrep/source/win32/soreport.cpp
index a05d01a..91e202a 100644
--- a/crashrep/source/win32/soreport.cpp
+++ b/crashrep/source/win32/soreport.cpp
@@ -1833,9 +1833,7 @@ bool WriteChecksumFile( FILE *fchksum, const hash_map< string, string >& rLibrar
 
         hash_map< string, string >::const_iterator iter;
 
-        for ( iter = rLibraries.begin(); 
-            iter != rLibraries.end(); 
-            iter++ )
+        for ( iter = rLibraries.begin(); iter != rLibraries.end(); ++iter )
         {
             sal_uInt8 checksum[RTL_DIGEST_LENGTH_MD5];
             sal_uInt32 nBytesProcessed = calc_md5_checksum( 
-- 
1.7.1


--------------020804020302080804060404--


More information about the LibreOffice mailing list