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
cdo
Commits
5e99524f
Commit
5e99524f
authored
Nov 17, 2017
by
Uwe Schulzweida
Browse files
Fix typo.
parent
f1982ace
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/expr.cc
View file @
5e99524f
...
...
@@ -944,7 +944,7 @@ nodeType *fun1c(int init, int funcID, nodeType *p1, double value, parse_param_t
{
const
char
*
funcname
=
fun_sym_tbl
[
funcID
].
name
;
if
(
p1
->
type
!=
typeVar
)
cdoAbort
(
"Parameter of function %s() needs to be a variable!"
,
funcname
);
if
(
p1
->
ltmpobj
)
cdoAbort
(
"Temorary objects not allowed in function %s()!"
,
funcname
);
if
(
p1
->
ltmpobj
)
cdoAbort
(
"Tem
p
orary objects not allowed in function %s()!"
,
funcname
);
size_t
ngp
=
p1
->
param
.
ngp
;
size_t
nlev
=
p1
->
param
.
nlev
;
...
...
@@ -1030,7 +1030,7 @@ nodeType *coord_fun(int init, int funcID, nodeType *p1, parse_param_t *parse_arg
{
const
char
*
funcname
=
fun_sym_tbl
[
funcID
].
name
;
if
(
p1
->
type
!=
typeVar
)
cdoAbort
(
"Parameter of function %s() needs to be a variable!"
,
funcname
);
if
(
p1
->
ltmpobj
)
cdoAbort
(
"Temorary objects not allowed in function %s()!"
,
funcname
);
if
(
p1
->
ltmpobj
)
cdoAbort
(
"Tem
p
orary objects not allowed in function %s()!"
,
funcname
);
size_t
len
=
3
+
strlen
(
p1
->
u
.
var
.
nm
);
char
*
cname
=
(
char
*
)
Calloc
(
len
,
1
);
...
...
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