[ros-diffs] [cfinck] 41152: Don't use a dereferencing operator when incrementing the pointer here. Doesn't change the actual logic, but should avoid confusions ; -) See issue #4557 for more details.

cfinck at svn.reactos.org cfinck at svn.reactos.org
Wed May 27 22:13:37 CEST 2009


Author: cfinck
Date: Thu May 28 00:13:36 2009
New Revision: 41152

URL: http://svn.reactos.org/svn/reactos?rev=41152&view=rev
Log:
Don't use a dereferencing operator when incrementing the pointer here.
Doesn't change the actual logic, but should avoid confusions ;-)

See issue #4557 for more details.

Modified:
    trunk/reactos/tools/rbuild/directory.cpp

Modified: trunk/reactos/tools/rbuild/directory.cpp
URL: http://svn.reactos.org/svn/reactos/trunk/reactos/tools/rbuild/directory.cpp?rev=41152&r1=41151&r2=41152&view=diff
==============================================================================
--- trunk/reactos/tools/rbuild/directory.cpp [iso-8859-1] (original)
+++ trunk/reactos/tools/rbuild/directory.cpp [iso-8859-1] Thu May 28 00:13:36 2009
@@ -197,7 +197,7 @@
 			newpath = newpath + "\\ ";
 		else
 			newpath = newpath + *p;
-		*p++;
+		p++;
 	}
 	return newpath;
 }



More information about the Ros-diffs mailing list