This commit is contained in:
shahramn 2024-08-25 12:51:16 +01:00
parent 264edafab9
commit 4ef34f02e3
5 changed files with 1 additions and 26 deletions

View File

@ -26,7 +26,6 @@ list( APPEND test_bins
grib_get_data
grib_sections_copy
grib_copy_keys
grib_iterator_bitmap
grib_clone
grib_copy_message
grib_ensemble_index

View File

@ -18,11 +18,6 @@
#include <stdio.h>
#include "eccodes.h"
static void usage(const char* app)
{
fprintf(stderr, "Usage is: %s input_file ouput_file\n", app);
}
int main(int argc, char* argv[])
{
FILE* in = NULL;
@ -36,7 +31,6 @@ int main(int argc, char* argv[])
int i, err = 0;
if (argc != 3) {
usage(argv[0]);
return 1;
}

View File

@ -18,11 +18,6 @@
#include <stdio.h>
#include "eccodes.h"
static void usage(const char* app)
{
fprintf(stderr, "Usage is: %s input_file ouput_file\n", app);
}
int main(int argc, char* argv[])
{
FILE* in = NULL;
@ -33,7 +28,6 @@ int main(int argc, char* argv[])
int err = 0;
if (argc != 3) {
usage(argv[0]);
return 1;
}

View File

@ -18,11 +18,6 @@
#include "eccodes.h"
#include <assert.h>
static void usage(const char* prog)
{
fprintf(stderr, "Usage is: %s input_file ouput_file\n", prog);
}
int main(int argc, char* argv[])
{
FILE* in = NULL;
@ -30,7 +25,6 @@ int main(int argc, char* argv[])
int err = 0;
if (argc != 3) {
usage(argv[0]);
return 1;
}

View File

@ -19,12 +19,6 @@
#include <assert.h>
#include "eccodes.h"
static void usage(const char* prog)
{
fprintf(stderr, "usage: %s in out\n", prog);
exit(1);
}
int main(int argc, char** argv)
{
int err = 0;
@ -40,7 +34,7 @@ int main(int argc, char** argv)
codes_handle* h = NULL;
const void* buffer = NULL;
if (argc != 3) usage(argv[0]);
if (argc != 3) return 1;
infile = argv[1];
outfile = argv[2];