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
0d009730
Commit
0d009730
authored
Oct 04, 2017
by
Uwe Schulzweida
Browse files
Fix compiler error: ordered comparison between pointer and zero.
parent
6c5ea24c
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/CMOR.cc
View file @
0d009730
...
...
@@ -3719,7 +3719,7 @@ static void check_for_sfc_pressure(int *ps_index, struct mapping vars[], int vli
else
if
(
zaxisInqType
(
vlistInqVarZaxis
(
vlistID
,
vars
[
j
].
cdi_varID
))
==
ZAXIS_HYBRID
)
ps_required
++
;
}
if
(
ps_index
<
0
&&
ps_required
)
if
(
*
ps_index
<
0
&&
ps_required
)
cdoAbort
(
"In writing data with CMOR:
\n
No surface pressure found for time step %d but required in Hybrid-sigma-pressure-coordinates. "
,
timestep
);
}
...
...
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