kopia lustrzana https://github.com/Hamlib/Hamlib
Fix cppcheck warning in getopt.c
rodzic
7dc98d3b79
commit
3d98d3862c
|
@ -721,11 +721,11 @@ main(argc, argv)
|
||||||
int argc;
|
int argc;
|
||||||
char **argv;
|
char **argv;
|
||||||
{
|
{
|
||||||
|
while (1)
|
||||||
|
{
|
||||||
int c;
|
int c;
|
||||||
int digit_optind = 0;
|
int digit_optind = 0;
|
||||||
|
|
||||||
while (1)
|
|
||||||
{
|
|
||||||
int this_option_optind = optind ? optind : 1;
|
int this_option_optind = optind ? optind : 1;
|
||||||
|
|
||||||
c = getopt(argc, argv, "abc:d:0123456789");
|
c = getopt(argc, argv, "abc:d:0123456789");
|
||||||
|
|
Ładowanie…
Reference in New Issue