Explorar o código

Avoid stupid warning

bel2125 %!s(int64=8) %!d(string=hai) anos
pai
achega
8be6d2548a
Modificáronse 1 ficheiros con 2 adicións e 0 borrados
  1. 2 0
      src/civetweb.c

+ 2 - 0
src/civetweb.c

@@ -858,6 +858,7 @@ mg_atomic_dec(volatile int *addr)
 #endif
 
 
+#if defined(USE_SERVER_STATS)
 static int
 mg_atomic_add(volatile int *addr, int value)
 {
@@ -875,6 +876,7 @@ mg_atomic_add(volatile int *addr, int value)
 #endif
 	return ret;
 }
+#endif
 
 
 #if defined(__GNUC__)