Explorar o código

mhd_str.c: additional fix for size-optimized builds, silenced compiler warnings

Evgeny Grin (Karlson2k) %!s(int64=8) %!d(string=hai) anos
pai
achega
4d292e6346
Modificáronse 1 ficheiros con 5 adicións e 0 borrados
  1. 5 0
      src/microhttpd/mhd_str.c

+ 5 - 0
src/microhttpd/mhd_str.c

@@ -50,6 +50,8 @@
  */
 
 #ifdef INLINE_FUNC
+
+#if 0 /* Disable unused functions. */
 /**
  * Check whether character is lower case letter in US-ASCII
  *
@@ -61,6 +63,7 @@ isasciilower (char c)
 {
   return (c >= 'a') && (c <= 'z');
 }
+#endif /* Disable unused functions. */
 
 
 /**
@@ -76,6 +79,7 @@ isasciiupper (char c)
 }
 
 
+#if 0 /* Disable unused functions. */
 /**
  * Check whether character is letter in US-ASCII
  *
@@ -87,6 +91,7 @@ isasciialpha (char c)
 {
   return isasciilower (c) || isasciiupper (c);
 }
+#endif /* Disable unused functions. */
 
 
 /**