소스 검색

fixed unused warning

Mike Frysinger 18 년 전
부모
커밋
34130f5af5
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  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