Declare variable only if needed.
This commit is contained in:
parent
dda7f979d5
commit
714148c555
|
@ -280,7 +280,10 @@ int main(int argc,char *argv[])
|
||||||
{
|
{
|
||||||
extern char* optarg;
|
extern char* optarg;
|
||||||
extern int optind;
|
extern int optind;
|
||||||
int optc, opti = 0;
|
int optc;
|
||||||
|
#ifdef HAVE_GETOPT_LONG
|
||||||
|
int opti = 0;
|
||||||
|
#endif
|
||||||
int stdinc = 1;
|
int stdinc = 1;
|
||||||
int lose = 0;
|
int lose = 0;
|
||||||
int ret;
|
int ret;
|
||||||
|
|
Loading…
Reference in New Issue