Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
mpim-sw
libcdi
Commits
28e33d8e
Commit
28e33d8e
authored
Feb 12, 2013
by
Uwe Schulzweida
Browse files
remove eclipse warnings
parent
4d433a6e
Changes
3
Hide whitespace changes
Inline
Side-by-side
src/stream_cgribex.c
View file @
28e33d8e
...
...
@@ -105,6 +105,7 @@ int cgribexGetTimeUnit(int *isec1)
Message
(
"GRIB time unit %d unsupported!"
,
ISEC1_TimeUnit
);
lprint
=
FALSE
;
}
break
;
}
return
(
timeunit
);
...
...
@@ -142,6 +143,7 @@ int cgribexGetTsteptype(int timerange)
Message
(
"GRIB time range %d unsupported!"
,
timerange
);
lprint
=
FALSE
;
}
break
;
}
return
(
tsteptype
);
...
...
@@ -1873,6 +1875,7 @@ void cgribexDefGrid(int *isec1, int *isec2, int *isec4, int gridID)
{
Warning
(
"The CGRIBEX library can not store fields on the used grid!"
);
Error
(
"Unsupported grid type: %s"
,
gridNamePtr
(
gridtype
));
break
;
}
}
}
...
...
src/stream_gribapi.c
View file @
28e33d8e
...
...
@@ -331,6 +331,7 @@ int gribapiGetValidityDateTime(grib_handle *gh, int *vdate, int *vtime)
Warning
(
"Time unit %d unsupported"
,
timeUnits
);
lprint
=
FALSE
;
}
break
;
}
julday_add_seconds
(
addsec
,
&
julday
,
&
secofday
);
...
...
@@ -2533,6 +2534,7 @@ void gribapiDefGrid(int editionNumber, grib_handle *gh, int gridID, int ljpeg, i
default:
{
Error
(
"Unsupported grid type: %s"
,
gridNamePtr
(
gridtype
));
break
;
}
}
}
...
...
src/stream_int.c
View file @
28e33d8e
...
...
@@ -113,6 +113,7 @@ long cdiGetenvInt(char *envName)
fact
=
0
;
Message
(
"Invalid number string in %s: %s"
,
envName
,
envString
);
Warning
(
"%s must comprise only digits [0-9]."
,
envName
);
break
;
}
break
;
}
...
...
@@ -129,8 +130,8 @@ long cdiGetenvInt(char *envName)
static
void
cdiSetChunk
(
const
char
*
chunkAlgo
)
{
char
*
pch
;
size_t
len
=
strlen
(
chunkAlgo
);
//
char *pch;
//
size_t len = strlen(chunkAlgo);
int
algo
=
-
1
;
if
(
strcmp
(
"auto"
,
chunkAlgo
)
==
0
)
algo
=
CHUNK_AUTO
;
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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