Skip to content

Commit

Permalink
Remove inline variable declaration
Browse files Browse the repository at this point in the history
  • Loading branch information
mikkelfj committed Sep 19, 2016
1 parent bc220a2 commit ed90f67
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/compiler/flatcc.c
Original file line number Diff line number Diff line change
Expand Up @@ -319,7 +319,7 @@ int flatcc_parse_file(flatcc_context_t ctx, const char *filename)
const char *inpath;
size_t size;
fb_name_t *inc;
int i, ret;
int i, ret, is_root;

filename_len = strlen(filename);
/* Don't parse the same file twice, or any other file with same basename. */
Expand All @@ -330,7 +330,7 @@ int flatcc_parse_file(flatcc_context_t ctx, const char *filename)
path = 0;
include_file = 0;
ret = -1;
int is_root = !P->referer_path;
is_root = !P->referer_path;

/*
* For root files, read file relative to working dir first. For
Expand Down

0 comments on commit ed90f67

Please sign in to comment.