Const correctness and cppcheck warnings

This commit is contained in:
shahramn 2024-03-04 10:25:52 +00:00
parent 12a2484c13
commit 039f47b7dd
1 changed files with 1 additions and 1 deletions

View File

@ -32,7 +32,7 @@ cat >keys <<EOF
%{
#include "grib_api_internal.h"
%}
struct grib_keys_hash { char* name; int id;};
struct grib_keys_hash { const char* name; int id;};
%%
EOF
cat tmp$$ | sort | uniq | awk 'BEGIN{x=0;}{print $1","++x}' >> keys