Skip to content

Commit c38285e

Browse files
committed
Testing: Cleanup
1 parent 0514d24 commit c38285e

File tree

1 file changed

+1
-7
lines changed

1 file changed

+1
-7
lines changed

tests/read_any.cc

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -9,12 +9,6 @@
99
*/
1010
#include "grib_api.h"
1111

12-
static void usage(const char* prog)
13-
{
14-
printf("usage: %s infile\n", prog);
15-
exit(1);
16-
}
17-
1812
static unsigned char buffer[50000000];
1913

2014
int main(int argc, char* argv[])
@@ -35,7 +29,7 @@ int main(int argc, char* argv[])
3529
size_t len;
3630

3731
if (argc != 2)
38-
usage(argv[0]);
32+
return 1;
3933
filename = argv[1];
4034

4135
f = fopen(filename, "rb");

0 commit comments

Comments
 (0)