Commit 18971e7c authored by Vasil Velichkov's avatar Vasil Velichkov

Fix misleading-indentation error

asn1c_save.c:238:5: error: this ‘for’ clause does not guard... [-Werror=misleading-indentation]
     for(int i = 0; i < argc; i++)
     ^~~
asn1c_save.c:240:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘for’
  safe_fprintf(mkf, "\n\n");
  ^~~~~~~~~~~~
parent 490da82c
...@@ -235,8 +235,9 @@ asn1c__save_example_mk_makefile(arg_t *arg, const asn1c_dep_chainset *deps, ...@@ -235,8 +235,9 @@ asn1c__save_example_mk_makefile(arg_t *arg, const asn1c_dep_chainset *deps,
"\nregen: regenerate-from-asn1-source\n" "\nregen: regenerate-from-asn1-source\n"
"\nregenerate-from-asn1-source:\n\t"); "\nregenerate-from-asn1-source:\n\t");
for(int i = 0; i < argc; i++) for(int i = 0; i < argc; i++) {
safe_fprintf(mkf, "%s%s", i ? " " : "", argv[i]); safe_fprintf(mkf, "%s%s", i ? " " : "", argv[i]);
}
safe_fprintf(mkf, "\n\n"); safe_fprintf(mkf, "\n\n");
fclose(mkf); fclose(mkf);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment