Commit 1593bde8 authored by Uwe Schulzweida's avatar Uwe Schulzweida
Browse files

removed unused func variables

parent a3f439ff
......@@ -24,7 +24,6 @@ static
void genGrids(int gridID1, int *gridIDs, int nxvals, int nyvals, int nsx, int nsy,
int **gridindex, int nsplit, int gridsize2)
{
static char *func = "genGrids";
int gridID2;
int gridtype;
int gridsize, nx, ny;
......@@ -100,7 +99,6 @@ typedef struct
void *Scatter(void *argument)
{
static const char *func = "Scatter";
int nchars;
int streamID1;
int *vlistIDs = NULL, *streamIDs = NULL;
......
......@@ -31,7 +31,6 @@
void *Seascount(void *argument)
{
static const char *func = "Seascount";
int operatorID;
int operfunc;
int gridsize;
......
......@@ -32,7 +32,6 @@
void *Seaspctl(void *argument)
{
static const char *func = "Seaspctl";
int gridsize;
int vdate1 = 0, vtime1 = 0;
int vdate2 = 0, vtime2 = 0;
......
......@@ -37,7 +37,6 @@
void *Seasstat(void *argument)
{
static const char *func = "Seasstat";
int operatorID;
int operfunc;
int gridsize;
......
......@@ -31,7 +31,6 @@
static
int gengrid(int gridID1, int lat1, int lat2, int lon11, int lon12, int lon21, int lon22)
{
static const char *func = "gengrid";
int gridtype, gridID2;
int nlon1, nlat1;
int nlon2, nlat2;
......@@ -227,7 +226,6 @@ int gengrid(int gridID1, int lat1, int lat2, int lon11, int lon12, int lon21, in
static
int gengridcell(int gridID1, int gridsize2, int *cellidx)
{
static const char *func = "gengridcell";
int gridtype, gridID2;
int gridsize1;
int i, k, nv;
......@@ -395,7 +393,6 @@ void genlonlatbox(double xlon1, double xlon2, double xlat1, double xlat2,
static
int genlonlatgrid(int gridID1, int *lat1, int *lat2, int *lon11, int *lon12, int *lon21, int *lon22)
{
static const char *func = "genlonlatgrid";
int ilon, ilat;
int nlon1, nlat1;
int gridtype, gridID2;
......@@ -564,7 +561,6 @@ int genlonlatgrid(int gridID1, int *lat1, int *lat2, int *lon11, int *lon12, int
static
int gencellgrid(int gridID1, int *gridsize2, int **cellidx)
{
static const char *func = "gencellgrid";
int gridtype, gridID2;
double *xvals1, *yvals1;
double xlon1, xlon2, xlat1, xlat2, x, xval, yval;
......@@ -752,7 +748,6 @@ void window_cell(double *array1, int gridID1, double *array2, int gridsize2, int
void *Selbox(void *argument)
{
static const char *func = "Selbox";
int SELLONLATBOX, SELINDEXBOX;
int operatorID;
int streamID1, streamID2;
......
......@@ -124,7 +124,6 @@ typedef struct
static
void pml_init(pml_t *pml, const char *name)
{
static const char *func = "pml_init";
pml->size = 0;
pml->dis = 1;
pml->name = strdup(name);
......@@ -133,7 +132,6 @@ void pml_init(pml_t *pml, const char *name)
pml_t *pmlNew(const char *name)
{
static const char *func = "pmlNew";
pml_t *pml;
pml = (pml_t *) malloc(sizeof(pml_t));
......@@ -180,7 +178,6 @@ void pmlPrint(pml_t *pml)
int pmlAdd(pml_t *pml, const char *name, int type, int dis, void *ptr, size_t size)
{
static const char *func = "pmlAdd";
pml_entry_t *pml_entry;
int entry = 0;
......@@ -233,7 +230,6 @@ int pmlNum(pml_t *pml, const char *name)
int pml_add_entry(pml_entry_t *entry, char *arg)
{
static const char *func = "pml_add_entry";
int status = 0;
if ( entry->type == PML_INT )
......@@ -287,7 +283,6 @@ void pmlProcess(pml_entry_t *entry, int argc, char **argv)
int pmlRead(pml_t *pml, int argc, char **argv)
{
static const char *func = "pmlRead";
pml_entry_t *entry = NULL;
pml_entry_t *pentry[MAX_PML_ENTRY];
int params[MAX_PML_ENTRY];
......@@ -442,7 +437,6 @@ void par_check_word_flag(int npar, char **parlist, int *flaglist, const char *tx
void *Select(void *argument)
{
const char func[] = "Select";
int SELECT;
int operatorID;
int streamID1, streamID2 = CDI_UNDEFID;
......
......@@ -23,7 +23,6 @@
void *Seloperator(void *argument)
{
static const char *func = "Seloperator";
int streamID1, streamID2 = CDI_UNDEFID;
int nrecs;
int tsID, recID, varID, levelID;
......
......@@ -45,7 +45,6 @@
void *Seltime(void *argument)
{
const char func[] = "Seltime";
int SELTIMESTEP, SELDATE, SELTIME, SELHOUR, SELDAY, SELMON, SELYEAR, SELSEAS, SELSMON;
int operatorID;
int operfunc, intval;
......
......@@ -47,7 +47,6 @@
void *Selvar(void *argument)
{
const char func[] = "Selvar";
int SELPARAM, SELCODE, SELNAME, SELLEVEL, SELLEVIDX, SELGRID, SELZAXIS, SELLTYPE;
int SELTABNUM, DELPARAM, DELCODE, DELNAME, SELSTDNAME;
int operatorID;
......
......@@ -34,7 +34,6 @@
void *Set(void *argument)
{
static const char *func = "Set";
int SETPARTAB, SETPARTABV, SETCODE, SETNAME, SETLEVEL, SETLTYPE, SETTABNUM;
int operatorID;
int streamID1, streamID2 = CDI_UNDEFID;
......
......@@ -28,9 +28,9 @@
#include "pstream.h"
static void genlonlatbox(int gridID1, int *lat1, int *lat2, int *lon11, int *lon12, int *lon21, int *lon22, double *constant)
static
void genlonlatbox(int gridID1, int *lat1, int *lat2, int *lon11, int *lon12, int *lon21, int *lon22, double *constant)
{
static const char *func = "genlonlatbox";
int nlon1, nlat1;
double *xvals1, *yvals1;
double xlon1, xlon2, xlat1, xlat2;
......@@ -107,7 +107,8 @@ static void genlonlatbox(int gridID1, int *lat1, int *lat2, int *lon11, int *lon
}
static void genindexbox(int gridID1, int *lat1, int *lat2, int *lon11, int *lon12, int *lon21, int *lon22, double *constant)
static
void genindexbox(int gridID1, int *lat1, int *lat2, int *lon11, int *lon12, int *lon21, int *lon22, double *constant)
{
int nlon1, nlat1;
int temp;
......@@ -180,8 +181,9 @@ static void genindexbox(int gridID1, int *lat1, int *lat2, int *lon11, int *lon1
}
static void setcbox(double constant, double *array, int gridID,
int lat1, int lat2, int lon11, int lon12, int lon21, int lon22)
static
void setcbox(double constant, double *array, int gridID,
int lat1, int lat2, int lon11, int lon12, int lon21, int lon22)
{
int nlon, nlat;
int ilat, ilon;
......@@ -200,7 +202,6 @@ static void setcbox(double constant, double *array, int gridID,
void *Setbox(void *argument)
{
static const char *func = "Setcbox";
int SETCLONLATBOX, SETCINDEXBOX;
int operatorID;
int streamID1, streamID2;
......
......@@ -32,7 +32,6 @@
void *Setgatt(void *argument)
{
static const char *func = "Setgatt";
int SETGATT, SETGATTS;
int operatorID;
int streamID1, streamID2 = CDI_UNDEFID;
......
......@@ -33,7 +33,6 @@
void *Setgrid(void *argument)
{
static const char *func = "Setgrid";
int SETGRID, SETGRIDTYPE, SETGRIDAREA, SETGRIDMASK, UNSETGRIDMASK;
int operatorID;
int streamID1, streamID2 = CDI_UNDEFID;
......
......@@ -26,9 +26,9 @@
#include "pstream.h"
static int gentpngrid(int gridID1)
static
int gentpngrid(int gridID1)
{
static const char *func = "gentpngrid";
int gridtype, gridID2;
int nlon1, nlat1;
int nlon2, nlat2;
......@@ -175,9 +175,9 @@ static int gentpngrid(int gridID1)
}
static int gengrid(int gridID1, int lhalo, int rhalo)
static
int gengrid(int gridID1, int lhalo, int rhalo)
{
static const char *func = "gengrid";
int gridtype, gridID2;
int nlon1, nlat1;
int nlon2, nlat2;
......@@ -368,7 +368,8 @@ static int gengrid(int gridID1, int lhalo, int rhalo)
}
static int genindexgrid(int gridID1, int *lhalo, int *rhalo)
static
int genindexgrid(int gridID1, int *lhalo, int *rhalo)
{
int gridID2;
int nlon1;
......@@ -410,7 +411,8 @@ static int genindexgrid(int gridID1, int *lhalo, int *rhalo)
}
static void halo(double *array1, int gridID1, double *array2, int lhalo, int rhalo)
static
void halo(double *array1, int gridID1, double *array2, int lhalo, int rhalo)
{
int nlon1, nlat;
int ilat, ilon;
......@@ -438,7 +440,8 @@ static void halo(double *array1, int gridID1, double *array2, int lhalo, int rha
}
static void tpnhalo(double *array1, int gridID1, double *array2)
static
void tpnhalo(double *array1, int gridID1, double *array2)
{
int nlon, nlat;
int ilat, ilon, ilonr;
......@@ -463,7 +466,6 @@ static void tpnhalo(double *array1, int gridID1, double *array2)
void *Sethalo(void *argument)
{
static const char *func = "Sethalo";
int SETHALO, TPNHALO;
int operatorID;
int streamID1, streamID2;
......
......@@ -42,7 +42,6 @@ int isnan(const double x);
void *Setmiss(void *argument)
{
static const char *func = "Setmiss";
int SETMISSVAL, SETCTOMISS, SETMISSTOC, SETRTOMISS, SETVRANGE;
int operatorID;
int streamID1, streamID2;
......
......@@ -24,7 +24,6 @@
void *Setrcaname(void *argument)
{
static const char *func = "Setrcaname";
int streamID1, streamID2 = CDI_UNDEFID;
int nrecs;
int tsID, recID, varID, levelID;
......
......@@ -70,7 +70,6 @@ int get_tunits(const char *unit, int *incperiod, int *incunit, int *tunit)
void *Settime(void *argument)
{
static const char *func = "Settime";
int SETYEAR, SETMON, SETDAY, SETDATE, SETTIME, SETTUNITS;
int SETTAXIS, SETREFTIME, SETCALENDAR, SHIFTTIME;
int operatorID;
......
......@@ -29,7 +29,6 @@
void *Setzaxis(void *argument)
{
static const char *func = "Setzaxis";
int SETZAXIS;
int operatorID;
int streamID1, streamID2 = CDI_UNDEFID;
......
......@@ -29,7 +29,6 @@
void *Smooth9(void *argument)
{
static const char *func = "Smooth9";
int operatorID;
int operfunc;
int streamID1, streamID2;
......
......@@ -95,7 +95,6 @@ int findrec(recinfo_t *recInfo[], int nrecords, int varID, int levelID)
void *Sort(void *argument)
{
static const char *func = "Sort";
int SORTCODE, SORTNAME, SORTLEVEL;
int operatorID;
int streamID1, streamID2;
......
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