Skip to content

Commit ee14465

Browse files
Carson HowardCarson Howard
authored andcommitted
examples: ls-files: fix build error
1 parent e866116 commit ee14465

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

examples/ls-files.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,7 @@ static void usage(const char *message, const char *arg)
4545
static int parse_options(ls_options *opts, int argc, char *argv[])
4646
{
4747
int parsing_files = 0;
48+
int i;
4849
char **file;
4950

5051
memset(opts, 0, sizeof(ls_options));
@@ -53,7 +54,6 @@ static int parse_options(ls_options *opts, int argc, char *argv[])
5354
if (argc < 2)
5455
return 0;
5556

56-
int i;
5757
for (i = 1; i < argc; ++i) {
5858
char *a = argv[i];
5959

0 commit comments

Comments
 (0)