Commit 8ef12a58 authored by Thomas Jahns's avatar Thomas Jahns 🤸
Browse files

Shorten expression.

parent 4ac78b48
......@@ -417,11 +417,10 @@ The function @func{vlistInqAttInt} gets the values(s) of an integer attribute.
*/
int vlistInqAttInt(int vlistID, int varID, const char *name, int mlen, int *ip)
{
int status = CDI_NOERR;
status = vlist_inq_att(DATATYPE_INT, vlistID, varID, name, mlen*sizeof(int), (void *) ip);
return (CDI_NOERR);
int status
= vlist_inq_att(DATATYPE_INT, vlistID, varID, name,
mlen*sizeof(int), (void *) ip);
return status;
}
/*
......
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