diff options
Diffstat (limited to 'Tests/Wrapping/fakefluid.cxx')
-rw-r--r-- | Tests/Wrapping/fakefluid.cxx | 13 |
1 files changed, 5 insertions, 8 deletions
diff --git a/Tests/Wrapping/fakefluid.cxx b/Tests/Wrapping/fakefluid.cxx index af44679..02c0c52 100644 --- a/Tests/Wrapping/fakefluid.cxx +++ b/Tests/Wrapping/fakefluid.cxx @@ -2,16 +2,13 @@ #include <string.h> int main(int ac, char** av) { - for(int i =0; i < ac; ++i) - { - if(strcmp(av[i], "-o") == 0 || - strcmp(av[i], "-h") == 0) - { - fprintf(stdout, "fakefluid is creating file \"%s\"\n", av[i+1]); - FILE* file = fopen(av[i+1], "w"); + for (int i = 0; i < ac; ++i) { + if (strcmp(av[i], "-o") == 0 || strcmp(av[i], "-h") == 0) { + fprintf(stdout, "fakefluid is creating file \"%s\"\n", av[i + 1]); + FILE* file = fopen(av[i + 1], "w"); fprintf(file, "// hello\n"); fclose(file); - } } + } return 0; } |