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

removed unused func variables

parent a3f439ff
......@@ -43,7 +43,6 @@
void *Math(void *argument)
{
static const char *func = "Math";
enum {ABS, FINT, FNINT, SQR, SQRT, EXP, LN, LOG10, SIN, COS, TAN, ASIN, ACOS, ATAN, POW, RECI};
int operatorID;
int operfunc;
......
......@@ -31,7 +31,6 @@
void *Merge(void *argument)
{
static const char *func = "Merge";
int streamID1 = -1, streamID2 = -1;
int varID, varID2;
int nrecs = 0;
......
......@@ -27,9 +27,9 @@
#include "pstream.h"
static void gen_index(int gridID1, int gridID2, int *index)
static
void gen_index(int gridID1, int gridID2, int *index)
{
static const char *func = "gen_index";
int nlat1, nlon1;
int nlat2, nlon2;
int gridtype1, gridtype2;
......@@ -151,7 +151,6 @@ static void gen_index(int gridID1, int gridID2, int *index)
void *Mergegrid(void *argument)
{
static const char *func = "Mergegrid";
int varID;
int nrecs = 0;
int tsID, recID, levelID;
......
......@@ -31,7 +31,6 @@
void *Mergetime(void *argument)
{
static const char *func = "Mergetime";
int streamID1, streamID2 = CDI_UNDEFID;
int tsID2 = 0, recID, varID, levelID;
int vlistID1, vlistID2;
......
......@@ -39,7 +39,6 @@
void *Merstat(void *argument)
{
static const char *func = "Merstat";
int operatorID;
int operfunc;
int streamID1, streamID2;
......
......@@ -32,7 +32,6 @@
void *Monarith(void *argument)
{
static const char *func = "Monarith";
int operatorID;
int operfunc;
int streamID1, streamID2, streamID3;
......
......@@ -193,7 +193,6 @@ void p_to_uv_grid(int nlon, int nlat, double *grid1x, double *grid1y,
void *Mrotuv(void *argument)
{
static const char *func = "Mrotuv";
int streamID1, streamID2, streamID3;
int nrecs;
int tsID, recID, levelID;
......
......@@ -155,7 +155,6 @@ static
void uv_to_p_grid(int nlon, int nlat, double *grid1x, double *grid1y,
double *grid2x, double *grid2y, double *grid3x, double *grid3y)
{
static const char *func = "uv_to_p_grid";
int gridsizex;
int i, j;
double gx, gy;
......@@ -261,7 +260,6 @@ void uv_to_p_grid(int nlon, int nlat, double *grid1x, double *grid1y,
void *Mrotuvb(void *argument)
{
static const char *func = "Mrotuvb";
int streamID1, streamID2, streamID3;
int nrecs, nrecs2;
int tsID, recID, levelID;
......
......@@ -34,7 +34,6 @@
void *Output(void *argument)
{
static const char *func = "Output";
int OUTPUT, OUTPUTINT, OUTPUTSRV, OUTPUTEXT, OUTPUTF, OUTPUTTS, OUTPUTFLD, OUTPUTARR, OUTPUTXYZ, OUTPUTKEY;
int operatorID;
int i;
......
......@@ -47,7 +47,8 @@
#endif
static int pnpoly(int npol, double *xp, double *yp, double x, double y)
static
int pnpoly(int npol, double *xp, double *yp, double x, double y)
{
int i, j, c = 0;
......@@ -62,7 +63,8 @@ static int pnpoly(int npol, double *xp, double *yp, double x, double y)
}
static double PolygonArea_old(int np, double *xp, double *yp)
static
double PolygonArea_old(int np, double *xp, double *yp)
{
int i, j;
double area = 0;
......@@ -80,7 +82,8 @@ static double PolygonArea_old(int np, double *xp, double *yp)
}
static double PolygonArea(int np, double *xp, double *yp, double yc)
static
double PolygonArea(int np, double *xp, double *yp, double yc)
{
int i, j;
double area = 0.;
......@@ -153,7 +156,6 @@ void verify_grid(int gridtype, int gridsize, int xsize, int ysize, int ncorner,
double *grid_center_lon, double *grid_center_lat,
double *grid_corner_lon, double *grid_corner_lat)
{
static const char *func = "verify_grid";
int i0, i, j, k, l;
int l0;
int nout;
......@@ -534,7 +536,6 @@ void make_cyclic(double *array1, double *array2, int nlon, int nlat)
void *Outputgmt(void *argument)
{
static const char *func = "Outputgmt";
int GRIDVERIFY, OUTPUTCENTER, OUTPUTCENTER2, OUTPUTCENTERCPT, OUTPUTBOUNDS;
int OUTPUTBOUNDSCPT, OUTPUTVECTOR, OUTPUTTRI;
int operatorID;
......
......@@ -29,7 +29,6 @@
void *Pinfo(void *argument)
{
static const char *func = "Pinfo";
int PINFO, PINFOV;
int operatorID;
int i;
......
......@@ -34,7 +34,6 @@
void *Pressure(void *argument)
{
static const char *func = "Pressure";
int PRESSURE_FL, PRESSURE_HL, DELTAP_FL, DELTAH_FL;
int operatorID;
int mode;
......
......@@ -31,7 +31,6 @@
/* Same code as Trend ! */
void *Regres(void *argument)
{
static const char *func = "Regres";
int gridsize;
int vdate = 0, vtime = 0;
int nrecs, nrecords;
......
......@@ -148,7 +148,6 @@ int maptype2operfunc(int map_type, int submap_type, int remap_order)
void *Remap(void *argument)
{
static const char *func = "Remap";
int operatorID;
int operfunc;
int streamID1, streamID2 = -1;
......
......@@ -133,7 +133,6 @@ void minmax(int nvals, double *array, int *imiss, double *minval, double *maxval
double *vctFromFile(const char *filename, int *nvct)
{
static const char *func = "vctFromFile";
char line[1024], *pline;
int num, i = 0;
int nlevh2, nvct2;
......@@ -215,7 +214,6 @@ void vert_sumw(double *sum, double *var3d, long gridsize, long nlevel, double *d
void *Remapeta(void *argument)
{
static const char *func = "Remapeta";
int REMAPETA, REMAPETAS, REMAPETAZ;
int operatorID;
int streamID1, streamID2;
......
......@@ -31,7 +31,6 @@
void *Replace(void *argument)
{
static const char *func = "Replace";
int varID;
int varID1, nvars1;
int varID2, nvars2;
......
......@@ -38,7 +38,6 @@ double arg2val(char *arg)
void *Replacevalues(void *argument)
{
static const char *func = "Replacevalues";
int SETVALS, SETRTOC, SETRTOC2;
int operatorID;
int streamID1, streamID2;
......
......@@ -33,7 +33,6 @@
static
void rot_uv_back(int gridID, double *us, double *vs)
{
static const char *func = "rot_uv_back";
int i, ilat, ilon, nlat, nlon;
double u, v;
double xval, yval;
......@@ -79,7 +78,6 @@ void rot_uv_back(int gridID, double *us, double *vs)
void *Rotuv(void *argument)
{
static const char *func = "Rotuv";
int streamID1, streamID2;
int nrecs;
int tsID, recID, varID, levelID;
......
......@@ -35,7 +35,6 @@
void *Runpctl(void *argument)
{
static const char *func = "Runpctl";
int gridsize;
int varID;
int recID;
......
......@@ -77,7 +77,6 @@ void datetime_avg(int calendar, int ndates, datetime_t *datetime)
void *Runstat(void *argument)
{
static const char *func = "Runstat";
int operatorID;
int operfunc;
int gridsize;
......
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