Commit 73b5289c authored by Thomas Jahns's avatar Thomas Jahns 🤸
Browse files

Remove unused variable.

parent 4a7df732
......@@ -173,7 +173,7 @@ int defineModel ( int instID )
{
int modelID = CDI_UNDEFID;
modelID = modelDef ( instID, 0, "myModel");
modelID = modelDef(instID, 0, "resource_copy");
return modelID;
}
......@@ -182,7 +182,7 @@ static int destNamespace;
int modelRun(MPI_Comm comm)
{
int gridID, zaxisID, taxisID, instID, modelID, vlistID, streamID;
int gridID, zaxisID, taxisID, instID, vlistID, streamID;
char * recvBuffer, * sendBuffer;
int bufferSize, differ;
......@@ -195,7 +195,7 @@ int modelRun(MPI_Comm comm)
zaxisID = defineZaxis ();
taxisID = defineTaxis ();
instID = defineInstitute ();
modelID = defineModel ( instID );
defineModel(instID);
vlistID = defineVlist ( gridID, zaxisID, taxisID);
streamID = streamOpenWrite("example.grb", FILETYPE_GRB);
if ( streamID < 0 ) xabort ( "Could not open file" );
......
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