mirror of https://github.com/ecmwf/eccodes.git
Const correctness and cppcheck warnings
This commit is contained in:
parent
12a2484c13
commit
039f47b7dd
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue