useless cast warning
Thomas Klausner <[email protected]>
| Newsgroups | gmane.emacs.devel |
|---|---|
| Message-ID | <[email protected]> |
Hi!
When compiling emacs git head on NetBSD, I see:
getopt1.c: In function 'rpl_getopt_long':
getopt1.c:31:34: warning: useless cast to type 'char **' [-Wuseless-cast]
31 | return _getopt_internal (argc, (char **) argv, options, long_options,
| ^
getopt1.c: In function 'rpl_getopt_long_only':
getopt1.c:54:34: warning: useless cast to type 'char **' [-Wuseless-cast]
54 | return _getopt_internal (argc, (char **) argv, options, long_options,
| ^
Thomas