From 2b4f877f9dd19eb2cc6603540fcf15fc6b0474b9 Mon Sep 17 00:00:00 2001 From: Dennis Heimbigner Date: Tue, 25 Jun 2024 14:46:55 -0600 Subject: [PATCH] json1 --- plugins/H5Znoop.c | 2 +- plugins/NCZhdf5filters.c | 2 +- plugins/NCZmisc.c | 2 +- plugins/NCZstdfilters.c | 6 +++--- plugins/NCZszip.c | 2 +- plugins/NCZtest.c | 2 +- 6 files changed, 8 insertions(+), 8 deletions(-) diff --git a/plugins/H5Znoop.c b/plugins/H5Znoop.c index 03f62a3c45..ee8c405419 100644 --- a/plugins/H5Znoop.c +++ b/plugins/H5Znoop.c @@ -182,7 +182,7 @@ NCZ_noop_codec_to_hdf5(const char* codec_json, size_t* nparamsp, unsigned** para { int stat = NC_NOERR; NCjson* jcodec = NULL; - NCjson* jtmp = NULL; + const NCjson* jtmp = NULL; int i,nparams = 0; unsigned* params = NULL; char field[1024]; diff --git a/plugins/NCZhdf5filters.c b/plugins/NCZhdf5filters.c index a8336ad730..637f00c35f 100644 --- a/plugins/NCZhdf5filters.c +++ b/plugins/NCZhdf5filters.c @@ -255,7 +255,7 @@ NCZ_deflate_codec_to_hdf5(const char* codec_json, size_t* nparamsp, unsigned** p { int stat = NC_NOERR; NCjson* jcodec = NULL; - NCjson* jtmp = NULL; + const NCjson* jtmp = NULL; unsigned* params = NULL; struct NCJconst jc; diff --git a/plugins/NCZmisc.c b/plugins/NCZmisc.c index 94883576e9..ec15d5e894 100644 --- a/plugins/NCZmisc.c +++ b/plugins/NCZmisc.c @@ -104,7 +104,7 @@ NCZ_misc_codec_to_hdf5(const char* codec_json, size_t* nparamsp, unsigned** para { int stat = NC_NOERR; NCjson* jcodec = NULL; - NCjson* jtmp = NULL; + const NCjson* jtmp = NULL; size_t i,nparams = 0; unsigned* params = NULL; diff --git a/plugins/NCZstdfilters.c b/plugins/NCZstdfilters.c index 734541944b..16842dc000 100644 --- a/plugins/NCZstdfilters.c +++ b/plugins/NCZstdfilters.c @@ -81,7 +81,7 @@ NCZ_bzip2_codec_to_hdf5(const char* codec_json, size_t* nparamsp, unsigned** par { int stat = NC_NOERR; NCjson* jcodec = NULL; - NCjson* jtmp = NULL; + const NCjson* jtmp = NULL; unsigned* params = NULL; struct NCJconst jc; @@ -159,7 +159,7 @@ NCZ_zstd_codec_to_hdf5(const char* codec_json, size_t* nparamsp, unsigned** para { int stat = NC_NOERR; NCjson* jcodec = NULL; - NCjson* jtmp = NULL; + const NCjson* jtmp = NULL; unsigned* params = NULL; struct NCJconst jc; @@ -339,7 +339,7 @@ NCZ_blosc_codec_to_hdf5(const char* codec_json, size_t* nparamsp, unsigned** par { int stat = NC_NOERR; NCjson* jcodec = NULL; - NCjson* jtmp = NULL; + const NCjson* jtmp = NULL; unsigned* params = NULL; struct NCJconst jc = {0,0,0,NULL}; int compcode; diff --git a/plugins/NCZszip.c b/plugins/NCZszip.c index 8e4fc328be..a0b4165c0c 100644 --- a/plugins/NCZszip.c +++ b/plugins/NCZszip.c @@ -52,7 +52,7 @@ NCZ_szip_codec_to_hdf5(const char* codec_json, size_t* nparamsp, unsigned** para unsigned* params = NULL; size_t nparams = 2; /* No. of visible parameters */ NCjson* json = NULL; - NCjson* jtmp = NULL; + const NCjson* jtmp = NULL; struct NCJconst jc = {0,0,0,NULL}; if(nparamsp == NULL || paramsp == NULL) diff --git a/plugins/NCZtest.c b/plugins/NCZtest.c index 06c6879756..cc9921aaaa 100644 --- a/plugins/NCZtest.c +++ b/plugins/NCZtest.c @@ -104,7 +104,7 @@ NCZ_misc_codec_to_hdf5(const char* codec_json, size_t* nparamsp, unsigned** para { int stat = NC_NOERR; NCjson* jcodec = NULL; - NCjson* jtmp = NULL; + const NCjson* jtmp = NULL; size_t i,nparams = 0; unsigned* params = NULL;