Skip to content

Commit

Permalink
Testing: Cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
shahramn committed Mar 4, 2024
1 parent 0514d24 commit c38285e
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions tests/read_any.cc
Original file line number Diff line number Diff line change
Expand Up @@ -9,12 +9,6 @@
*/
#include "grib_api.h"

static void usage(const char* prog)
{
printf("usage: %s infile\n", prog);
exit(1);
}

static unsigned char buffer[50000000];

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

if (argc != 2)
usage(argv[0]);
return 1;
filename = argv[1];

f = fopen(filename, "rb");
Expand Down

0 comments on commit c38285e

Please sign in to comment.