Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
mpim-sw
cdo
Commits
1593bde8
Commit
1593bde8
authored
Nov 04, 2010
by
Uwe Schulzweida
Browse files
removed unused func variables
parent
a3f439ff
Changes
172
Hide whitespace changes
Inline
Side-by-side
src/Math.c
View file @
1593bde8
...
...
@@ -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
;
...
...
src/Merge.c
View file @
1593bde8
...
...
@@ -31,7 +31,6 @@
void
*
Merge
(
void
*
argument
)
{
static
const
char
*
func
=
"Merge"
;
int
streamID1
=
-
1
,
streamID2
=
-
1
;
int
varID
,
varID2
;
int
nrecs
=
0
;
...
...
src/Mergegrid.c
View file @
1593bde8
...
...
@@ -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
;
...
...
src/Mergetime.c
View file @
1593bde8
...
...
@@ -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
;
...
...
src/Merstat.c
View file @
1593bde8
...
...
@@ -39,7 +39,6 @@
void
*
Merstat
(
void
*
argument
)
{
static
const
char
*
func
=
"Merstat"
;
int
operatorID
;
int
operfunc
;
int
streamID1
,
streamID2
;
...
...
src/Monarith.c
View file @
1593bde8
...
...
@@ -32,7 +32,6 @@
void
*
Monarith
(
void
*
argument
)
{
static
const
char
*
func
=
"Monarith"
;
int
operatorID
;
int
operfunc
;
int
streamID1
,
streamID2
,
streamID3
;
...
...
src/Mrotuv.c
View file @
1593bde8
...
...
@@ -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
;
...
...
src/Mrotuvb.c
View file @
1593bde8
...
...
@@ -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
;
...
...
src/Output.c
View file @
1593bde8
...
...
@@ -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
;
...
...
src/Outputgmt.c
View file @
1593bde8
...
...
@@ -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
;
...
...
src/Pinfo.c
View file @
1593bde8
...
...
@@ -29,7 +29,6 @@
void
*
Pinfo
(
void
*
argument
)
{
static
const
char
*
func
=
"Pinfo"
;
int
PINFO
,
PINFOV
;
int
operatorID
;
int
i
;
...
...
src/Pressure.c
View file @
1593bde8
...
...
@@ -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
;
...
...
src/Regres.c
View file @
1593bde8
...
...
@@ -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
;
...
...
src/Remap.c
View file @
1593bde8
...
...
@@ -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
;
...
...
src/Remapeta.c
View file @
1593bde8
...
...
@@ -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
;
...
...
src/Replace.c
View file @
1593bde8
...
...
@@ -31,7 +31,6 @@
void
*
Replace
(
void
*
argument
)
{
static
const
char
*
func
=
"Replace"
;
int
varID
;
int
varID1
,
nvars1
;
int
varID2
,
nvars2
;
...
...
src/Replacevalues.c
View file @
1593bde8
...
...
@@ -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
;
...
...
src/Rotuv.c
View file @
1593bde8
...
...
@@ -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
;
...
...
src/Runpctl.c
View file @
1593bde8
...
...
@@ -35,7 +35,6 @@
void
*
Runpctl
(
void
*
argument
)
{
static
const
char
*
func
=
"Runpctl"
;
int
gridsize
;
int
varID
;
int
recID
;
...
...
src/Runstat.c
View file @
1593bde8
...
...
@@ -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
;
...
...
Prev
1
2
3
4
5
6
7
8
9
Next
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment