diff options
| author | Baptiste Daroussin <bapt@FreeBSD.org> | 2017-05-06 10:17:59 +0000 |
|---|---|---|
| committer | Baptiste Daroussin <bapt@FreeBSD.org> | 2017-05-06 10:17:59 +0000 |
| commit | ffcbc2d7ba03067492045e4cbead519a3b3c27ef (patch) | |
| tree | df436f4253158a7d5a4875e54cd7d273dd5334a6 /examples/streaming_decompression.c | |
| parent | ab984b3e51d32af796fe89e130f57bf58b8a14b2 (diff) | |
Notes
Diffstat (limited to 'examples/streaming_decompression.c')
| -rw-r--r-- | examples/streaming_decompression.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/examples/streaming_decompression.c b/examples/streaming_decompression.c index 400aa673d64b..bb2d80987081 100644 --- a/examples/streaming_decompression.c +++ b/examples/streaming_decompression.c @@ -99,7 +99,6 @@ static void decompressFile_orDie(const char* fname) int main(int argc, const char** argv) { const char* const exeName = argv[0]; - const char* const inFilename = argv[1]; if (argc!=2) { fprintf(stderr, "wrong arguments\n"); @@ -108,6 +107,8 @@ int main(int argc, const char** argv) return 1; } + const char* const inFilename = argv[1]; + decompressFile_orDie(inFilename); return 0; } |
