Skip to content
GitLab
Menu
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
b0ce5d0e
Commit
b0ce5d0e
authored
Apr 07, 2016
by
Thomas Jahns
🤸
Browse files
Do not re-initialize variable to previous value.
parent
a7276909
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/stream_cdf_i.c
View file @
b0ce5d0e
...
...
@@ -221,9 +221,7 @@ int setBaseTime(const char *timeunits, taxis_t *taxis)
{
while
(
isspace
(
*
ptu
)
)
ptu
++
;
if
(
str_is_equal
(
ptu
,
"as"
)
)
timetype
=
TAXIS_ABSOLUTE
;
else
if
(
str_is_equal
(
ptu
,
"since"
)
)
if
(
str_is_equal
(
ptu
,
"since"
)
)
timetype
=
TAXIS_RELATIVE
;
while
(
!
isspace
(
*
ptu
)
&&
*
ptu
!=
0
)
ptu
++
;
...
...
Write
Preview
Supports
Markdown
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