subversion-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From stef...@apache.org
Subject svn commit: r1403474 - /subversion/trunk/subversion/libsvn_subr/sqlite.c
Date Mon, 29 Oct 2012 20:03:23 GMT
Author: stefan2
Date: Mon Oct 29 20:03:22 2012
New Revision: 1403474

URL: http://svn.apache.org/viewvc?rev=1403474&view=rev
Log:
* subversion/libsvn_subr/sqlite.c
  (): disable "unused function" warning caused by amalgamated sqlite

Modified:
    subversion/trunk/subversion/libsvn_subr/sqlite.c

Modified: subversion/trunk/subversion/libsvn_subr/sqlite.c
URL: http://svn.apache.org/viewvc/subversion/trunk/subversion/libsvn_subr/sqlite.c?rev=1403474&r1=1403473&r2=1403474&view=diff
==============================================================================
--- subversion/trunk/subversion/libsvn_subr/sqlite.c (original)
+++ subversion/trunk/subversion/libsvn_subr/sqlite.c Mon Oct 29 20:03:22 2012
@@ -45,6 +45,9 @@
 #ifdef SVN_SQLITE_INLINE
 /* Include sqlite3 inline, making all symbols private. */
   #define SQLITE_API static
+  #if __GNUC__ > 4 || (__GNUC__ == 4 && __GNUC_MINOR__ >= 6)
+    #pragma GCC diagnostic ignored "-Wunused-function"
+  #endif
   #include <sqlite3.c>
 #else
   #include <sqlite3.h>



Mime
View raw message