subversion-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From br...@apache.org
Subject svn commit: r1697845 - /subversion/trunk/subversion/tests/libsvn_wc/wc-queries-test.c
Date Wed, 26 Aug 2015 08:03:18 GMT
Author: brane
Date: Wed Aug 26 08:03:17 2015
New Revision: 1697845

URL: http://svn.apache.org/r1697845
Log:
Fix compiler warning about empty while statement body.

* subversion/tests/libsvn_wc/wc-queries-test.c
  (SQLITE_ERR): Add the missing 'do' keyword.

Modified:
    subversion/trunk/subversion/tests/libsvn_wc/wc-queries-test.c

Modified: subversion/trunk/subversion/tests/libsvn_wc/wc-queries-test.c
URL: http://svn.apache.org/viewvc/subversion/trunk/subversion/tests/libsvn_wc/wc-queries-test.c?rev=1697845&r1=1697844&r2=1697845&view=diff
==============================================================================
--- subversion/trunk/subversion/tests/libsvn_wc/wc-queries-test.c (original)
+++ subversion/trunk/subversion/tests/libsvn_wc/wc-queries-test.c Wed Aug 26 08:03:17 2015
@@ -52,7 +52,7 @@ WC_QUERIES_SQL_DECLARE_STATEMENT_INFO(wc
 /* The first query after the normal wc queries */
 #define STMT_SCHEMA_FIRST STMT_CREATE_SCHEMA
 
-#define SQLITE_ERR(x)   \
+#define SQLITE_ERR(x) do                                         \
 {                                                                \
   int sqlite_err__temp = (x);                                    \
   if (sqlite_err__temp != SQLITE_OK)                             \



Mime
View raw message