Sfoglia il codice sorgente

fixed unused warning

Mike Frysinger 18 anni fa
parent
commit
34130f5af5
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. 1 1
      libc/unistd/getopt.c

+ 1 - 1
libc/unistd/getopt.c

@@ -225,7 +225,7 @@ static void exchange (char **argv)
 
 /* Initialize the internal data when the first call is made.  */
 
-static const char *_getopt_initialize (int argc, char *const * argv, const char *optstring)
+static const char *_getopt_initialize (attribute_unused int argc, attribute_unused char *const * argv, const char *optstring)
 {
     /* Start processing options with ARGV-element 1 (since ARGV-element 0
        is the program name); the sequence of previously skipped