Commit b3fc0639 authored by Uwe Schulzweida's avatar Uwe Schulzweida
Browse files

Fix cppcheck struct member is never used. [unusedStructMember]

parent 86fe2edb
...@@ -33,7 +33,6 @@ struct EnsfileType ...@@ -33,7 +33,6 @@ struct EnsfileType
{ {
CdoStreamID streamID; CdoStreamID streamID;
int vlistID; int vlistID;
int gridID;
size_t nmiss; size_t nmiss;
size_t gridsize; size_t gridsize;
std::vector<long> gridindex; std::vector<long> gridindex;
......
...@@ -35,7 +35,7 @@ ...@@ -35,7 +35,7 @@
#define NALLOC_INC 1024 #define NALLOC_INC 1024
static void static void
detrend(const long nts, Varray<double> &deltaTS0, const double missval1, const Varray<double> &array1, Varray<double> &array2) detrend(const long nts, const Varray<double> &deltaTS0, const double missval1, const Varray<double> &array1, Varray<double> &array2)
{ {
const auto missval2 = missval1; const auto missval2 = missval1;
double sumj = 0, sumjj = 0; double sumj = 0, sumjj = 0;
......
...@@ -77,8 +77,6 @@ Samplegrid(void *process) ...@@ -77,8 +77,6 @@ Samplegrid(void *process)
struct sbox_t struct sbox_t
{ {
int gridSrcID, gridIDsampled; int gridSrcID, gridIDsampled;
int *cellidx, nvals;
int subI0, subI1, subJ0, subJ1;
}; };
cdoInitialize(process); cdoInitialize(process);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment