Author: stsp
Date: Thu Apr  4 11:28:36 2013
New Revision: 1464459

URL: http://svn.apache.org/r1464459
Log:
* subversion/tests/libsvn_subr/error-code-test.c
  (check_error_codes_unique): Check every error code: don't increment the
   iteration counter twice per loop iteration. This happened because I
   improperly converted a while() loop into a for() loop before commit.

Modified:
    subversion/trunk/subversion/tests/libsvn_subr/error-code-test.c

Modified: subversion/trunk/subversion/tests/libsvn_subr/error-code-test.c
URL: 
http://svn.apache.org/viewvc/subversion/trunk/subversion/tests/libsvn_subr/error-code-test.c?rev=1464459&r1=1464458&r2=1464459&view=diff
==============================================================================
--- subversion/trunk/subversion/tests/libsvn_subr/error-code-test.c (original)
+++ subversion/trunk/subversion/tests/libsvn_subr/error-code-test.c Thu Apr  4 
11:28:36 2013
@@ -49,7 +49,7 @@ check_error_codes_unique(apr_pool_t *poo
   /* Ensure error codes are strictly monotonically increasing. */
   for (i = 1; i < NUM_ERRORS; i++)
     {
-      struct err_defn e2 = error_table[i++];
+      struct err_defn e2 = error_table[i];
 
       /* Don't fail the test if there is an odd number of errors.
        * The error array's sentinel has an error code of zero. */


Reply via email to