Skip to content
Snippets Groups Projects
Commit 1fd0d1a3 authored by Thomas Jahns's avatar Thomas Jahns :cartwheel:
Browse files

Use idiomatic pointer dereferencing syntax.

parent a9ec47ec
No related branches found
No related tags found
No related merge requests found
......@@ -252,8 +252,8 @@ int setBaseTime(const char *timeunits, taxis_t *taxis)
{
scanTimeString(tu+pos, &rdate, &rtime);
(*taxis).rdate = rdate;
(*taxis).rtime = rtime;
taxis->rdate = rdate;
taxis->rtime = rtime;
if ( CDI_Debug )
Message("rdate = %d rtime = %d", rdate, rtime);
......@@ -261,8 +261,8 @@ int setBaseTime(const char *timeunits, taxis_t *taxis)
}
}
(*taxis).type = timetype;
(*taxis).unit = timeunit;
taxis->type = timetype;
taxis->unit = timeunit;
Free(tu);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment