Hullo List,

Same as earlier, EasyHack cppcheck-found post to pre increment iterator.

Cheers,

Kevin
>From d623b58d83d254893dd212548461e492e3c2d13b Mon Sep 17 00:00:00 2001
From: Kevin Hunter <hunt...@earlham.edu>
Date: Thu, 10 Feb 2011 16:24:34 -0500
Subject: [PATCH] cppcheck: post- to pre- *crement change.

---
 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

_______________________________________________
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice

Reply via email to