mirror of https://github.com/ecmwf/eccodes.git
Cosmetics
This commit is contained in:
parent
ff9265a09f
commit
f96369ccb3
|
@ -11,11 +11,7 @@
|
|||
|
||||
#include "grib_api_internal.h"
|
||||
#include "grib_accessor_classes_hash.cc"
|
||||
#include <iostream>
|
||||
/* grib level */
|
||||
|
||||
|
||||
/* This file is generated by ./make_class.pl */
|
||||
//#include <iostream>
|
||||
#include "accessor/grib_accessor.h"
|
||||
|
||||
#if GRIB_PTHREADS
|
||||
|
|
|
@ -108,7 +108,8 @@ int main(int argc, char* argv[])
|
|||
grib_context_free(c, full_path);
|
||||
|
||||
if (read_count == 0) {
|
||||
fprintf(stderr, "Error: Number of bytes read == 0. Please check the path refers to a file.\n");
|
||||
fprintf(stderr, "Error: Number of bytes read == 0. Please check the path refers to a regular %s file.\n",
|
||||
(resource_type == SAMPLE) ? "sample" : "definition");
|
||||
} else {
|
||||
printf("Resource exported to file '%s'.\n", out_file);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue