Prechádzať zdrojové kódy

fixed unused warning

Mike Frysinger 18 rokov pred
rodič
commit
34130f5af5
1 zmenil súbory, kde vykonal 1 pridanie a 1 odobranie
  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