Testing: Cleanup

This commit is contained in:
shahramn 2024-03-04 18:54:38 +00:00
parent 0514d24a72
commit c38285e567
1 changed files with 1 additions and 7 deletions

View File

@ -9,12 +9,6 @@
*/ */
#include "grib_api.h" #include "grib_api.h"
static void usage(const char* prog)
{
printf("usage: %s infile\n", prog);
exit(1);
}
static unsigned char buffer[50000000]; static unsigned char buffer[50000000];
int main(int argc, char* argv[]) int main(int argc, char* argv[])
@ -35,7 +29,7 @@ int main(int argc, char* argv[])
size_t len; size_t len;
if (argc != 2) if (argc != 2)
usage(argv[0]); return 1;
filename = argv[1]; filename = argv[1];
f = fopen(filename, "rb"); f = fopen(filename, "rb");