Commit 9a30ba0f authored by Thomas Jahns's avatar Thomas Jahns 🤸
Browse files

Suppress unused argument warnings.

parent 92cb63be
......@@ -100,6 +100,7 @@ static void
cdiPioClientStreamWriteVar_(int streamID, int varID, int memtype,
const void *data, int nmiss)
{
(void)streamID; (void)varID; (void)memtype; (void)data; (void)nmiss;
xabort("parallel writing requires explicit partition information,"
" use streamWriteVarPart!");
}
......@@ -183,6 +184,7 @@ cdiPioCdfDefTimestepNOP(stream_t *streamptr, int tsID)
static void
cdiPioClientStreamNOP(stream_t *streamptr)
{
(void)streamptr;
}
......@@ -191,6 +193,7 @@ cdiPioClientStreamClose(stream_t *streamptr, int recordBufIsToBeDeleted)
{
struct winHeaderEntry header;
statusCode nspStatus = namespaceInqResStatus ();
(void)recordBufIsToBeDeleted;
switch ( nspStatus )
{
case STAGE_DEFINITION:
......
......@@ -235,6 +235,7 @@ int main (int argc, char *argv[])
MPI_Init(&argc, &argv);
commModel = MPI_COMM_WORLD;
#else
(void)argc; (void)argv;
commModel = 0;
#endif
destNamespace = namespaceNew();
......
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