Skip to content
Merged
Prev Previous commit
Next Next commit
examples: ls-files: fix build error
  • Loading branch information
Carson Howard authored and Carson Howard committed Mar 27, 2018
commit ee1446506fef2b2837c9a8f8ce2c2c4d47ecddff
2 changes: 1 addition & 1 deletion examples/ls-files.c
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@ static void usage(const char *message, const char *arg)
static int parse_options(ls_options *opts, int argc, char *argv[])
{
int parsing_files = 0;
int i;
char **file;

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

int i;
for (i = 1; i < argc; ++i) {
char *a = argv[i];

Expand Down