subversion-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rhuij...@apache.org
Subject svn commit: r1619152 - /subversion/trunk/subversion/tests/svn_test_main.c
Date Wed, 20 Aug 2014 16:41:24 GMT
Author: rhuijben
Date: Wed Aug 20 16:41:23 2014
New Revision: 1619152

URL: http://svn.apache.org/r1619152
Log:
* subversion/tests/svn_test_main.c
  (test_thread): Explicitly set err to NULL, as it might be kept from
    the previous test ran from te same loop.

Modified:
    subversion/trunk/subversion/tests/svn_test_main.c

Modified: subversion/trunk/subversion/tests/svn_test_main.c
URL: http://svn.apache.org/viewvc/subversion/trunk/subversion/tests/svn_test_main.c?rev=1619152&r1=1619151&r2=1619152&view=diff
==============================================================================
--- subversion/trunk/subversion/tests/svn_test_main.c (original)
+++ subversion/trunk/subversion/tests/svn_test_main.c Wed Aug 20 16:41:23 2014
@@ -473,7 +473,7 @@ static void * APR_THREAD_FUNC
 test_thread(apr_thread_t *thread, void *data)
 {
   svn_boolean_t skip, xfail, wimp;
-  svn_error_t *err = NULL;
+  svn_error_t *err;
   const struct svn_test_descriptor_t *desc;
   svn_boolean_t run_this_test; /* This test's mode matches DESC->MODE. */
   test_params_t *params = data;
@@ -506,7 +506,7 @@ test_thread(apr_thread_t *thread, void *
 
       /* Do test */
       if (skip || !run_this_test)
-        ; /* pass */
+        err = NULL; /* pass */
       else if (desc->func2)
         err = (*desc->func2)(pool);
       else



Mime
View raw message