mirror of
https://github.com/sheumann/hush.git
synced 2025-02-07 04:31:22 +00:00
work around gcc's false warning
This commit is contained in:
parent
8336f080cb
commit
b05955e0a5
@ -898,8 +898,8 @@ static int diffreg(char *ofile1, char *ofile2, int flags)
|
|||||||
{
|
{
|
||||||
char *file1 = ofile1;
|
char *file1 = ofile1;
|
||||||
char *file2 = ofile2;
|
char *file2 = ofile2;
|
||||||
FILE *f1;
|
FILE *f1 = stdin;
|
||||||
FILE *f2;
|
FILE *f2 = stdin;
|
||||||
int rval = D_SAME;
|
int rval = D_SAME;
|
||||||
int i;
|
int i;
|
||||||
|
|
||||||
@ -911,7 +911,6 @@ static int diffreg(char *ofile1, char *ofile2, int flags)
|
|||||||
if (LONE_DASH(file1) && LONE_DASH(file2))
|
if (LONE_DASH(file1) && LONE_DASH(file2))
|
||||||
goto closem;
|
goto closem;
|
||||||
|
|
||||||
f1 = f2 = stdin;
|
|
||||||
if (flags & D_EMPTY1)
|
if (flags & D_EMPTY1)
|
||||||
f1 = xfopen(bb_dev_null, "r");
|
f1 = xfopen(bb_dev_null, "r");
|
||||||
else if (NOT_LONE_DASH(file1))
|
else if (NOT_LONE_DASH(file1))
|
||||||
|
Loading…
x
Reference in New Issue
Block a user