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

Comment unused variables in examples.

parent a186b099
......@@ -9,7 +9,7 @@ int nts = 3; // Number of time steps
int main(void)
{
int taxisID, vlistID1, vlistID2, varID1, varID2, streamID1, streamID2, tsID;
int nmiss, vdate, vtime;
int nmiss;
double var1[nlon*nlat];
double var2[nlon*nlat*nlev];
......@@ -51,8 +51,8 @@ int main(void)
streamInqTimestep(streamID1, tsID);
// Get the verification date and time
vdate = taxisInqVdate(taxisID);
vtime = taxisInqVtime(taxisID);
/* int vdate = */taxisInqVdate(taxisID);
/* int vtime = */taxisInqVtime(taxisID);
// Define the output time step
streamDefTimestep(streamID2, tsID);
......
......@@ -9,7 +9,7 @@ int nts = 3; // Number of time steps
int main(void)
{
int taxisID, vlistID, varID1, varID2, streamID, tsID;
int nmiss, vdate, vtime;
int nmiss;
double var1[nlon*nlat];
double var2[nlon*nlat*nlev];
......@@ -39,8 +39,8 @@ int main(void)
streamInqTimestep(streamID, tsID);
// Get the verification date and time
vdate = taxisInqVdate(taxisID);
vtime = taxisInqVtime(taxisID);
/* int vdate = */taxisInqVdate(taxisID);
/* int vtime = */taxisInqVtime(taxisID);
// Read var1 and var2
streamReadVar(streamID, varID1, var1, &nmiss);
......
Supports Markdown
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