Minor warning cleanups
This commit is contained in:
parent
bff7a60f63
commit
9c6b5fcb0a
@ -595,7 +595,9 @@ int tar_main(int argc, char **argv)
|
|||||||
unsigned short untar_funct_required = 0;
|
unsigned short untar_funct_required = 0;
|
||||||
unsigned short extract_function = 0;
|
unsigned short extract_function = 0;
|
||||||
int include_list_count = 0;
|
int include_list_count = 0;
|
||||||
|
#ifdef CONFIG_FEATURE_TAR_EXCLUDE
|
||||||
int exclude_list_count = 0;
|
int exclude_list_count = 0;
|
||||||
|
#endif
|
||||||
#ifdef CONFIG_FEATURE_TAR_GZIP
|
#ifdef CONFIG_FEATURE_TAR_GZIP
|
||||||
int gunzip_pid;
|
int gunzip_pid;
|
||||||
int gz_fd = 0;
|
int gz_fd = 0;
|
||||||
|
@ -851,7 +851,8 @@ extern int sed_main(int argc, char **argv)
|
|||||||
int i;
|
int i;
|
||||||
FILE *file;
|
FILE *file;
|
||||||
for (i = optind; i < argc; i++) {
|
for (i = optind; i < argc; i++) {
|
||||||
if (file = wfopen(argv[i], "r")) {
|
file = wfopen(argv[i], "r");
|
||||||
|
if (file) {
|
||||||
process_file(file);
|
process_file(file);
|
||||||
fclose(file);
|
fclose(file);
|
||||||
} else
|
} else
|
||||||
|
Loading…
x
Reference in New Issue
Block a user