Commit 41bbde54 authored by Thomas Jahns's avatar Thomas Jahns 🤸
Browse files

Merge initialization and declaration.

parent 43fbf5d5
......@@ -1685,7 +1685,6 @@ zaxisUnpack(char * unpackBuffer, int unpackBufferSize,
int * unpackBufferPos, int originNamespace, void *context,
int force_id)
{
zaxis_t * zaxisP;
int intBuffer[zaxisNint], memberMask;
uint32_t d;
char charBuffer[zaxisNstrings * CDI_MAX_NAME];
......@@ -1699,9 +1698,9 @@ zaxisUnpack(char * unpackBuffer, int unpackBufferSize,
zaxisInit();
zaxisP = zaxisNewEntry(force_id?
namespaceAdaptKey(intBuffer[0], originNamespace)
:CDI_UNDEFID);
zaxis_t *zaxisP
= zaxisNewEntry(force_id ? namespaceAdaptKey(intBuffer[0], originNamespace)
: CDI_UNDEFID);
zaxisP->prec = intBuffer[1];
zaxisP->type = intBuffer[2];
......
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