diff --git a/src/grib_accessor_class.cc b/src/grib_accessor_class.cc index 762489961..98d247ff4 100644 --- a/src/grib_accessor_class.cc +++ b/src/grib_accessor_class.cc @@ -11,11 +11,7 @@ #include "grib_api_internal.h" #include "grib_accessor_classes_hash.cc" -#include -/* grib level */ - - -/* This file is generated by ./make_class.pl */ +//#include #include "accessor/grib_accessor.h" #if GRIB_PTHREADS diff --git a/tools/codes_export_resource.cc b/tools/codes_export_resource.cc index 98ba7712d..afb93cc9d 100644 --- a/tools/codes_export_resource.cc +++ b/tools/codes_export_resource.cc @@ -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); }