diff options
author | Lloyd Hilaiel <lloyd@hilaiel.com> | 2011-04-25 11:16:15 -0700 |
---|---|---|
committer | Lloyd Hilaiel <lloyd@hilaiel.com> | 2011-04-25 11:16:15 -0700 |
commit | 18e45d1e52e7cd7a4e948b74ae30057ab5d960fe (patch) | |
tree | 010ff8a59f073fdeee2a53a6ded3b728a901cc05 /reformatter | |
parent | 8b203acbff93612f2e504a9e725ad8a995eaeffc (diff) | |
download | yajl-18e45d1e52e7cd7a4e948b74ae30057ab5d960fe.tar.gz |
compiling cleanly on winblows
Diffstat (limited to 'reformatter')
-rw-r--r-- | reformatter/json_reformat.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/reformatter/json_reformat.c b/reformatter/json_reformat.c index ba55748..c5b88f0 100644 --- a/reformatter/json_reformat.c +++ b/reformatter/json_reformat.c @@ -114,6 +114,7 @@ main(int argc, char ** argv) yajl_status stat; size_t rd; int retval = 0; + int a = 1; g = yajl_gen_alloc(NULL); yajl_gen_config(g, yajl_gen_beautify, 1); @@ -125,7 +126,6 @@ main(int argc, char ** argv) yajl_config(hand, yajl_allow_comments, 1); /* check arguments.*/ - int a = 1; while ((a < argc) && (argv[a][0] == '-') && (strlen(argv[a]) > 1)) { unsigned int i; for ( i=1; i < strlen(argv[a]); i++) { |