Commit 1fd0d1a3 authored by Thomas Jahns's avatar Thomas Jahns 🤸
Browse files

Use idiomatic pointer dereferencing syntax.

parent a9ec47ec
......@@ -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);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment