Commit 73685001 authored by Oliver Heidmann's avatar Oliver Heidmann
Browse files

removed outcommented old code

parent 51433d1d
......@@ -97,7 +97,6 @@ printAtts(int vlistID)
}
if (attLen < 0)
{
//goto attGetFail;
puts("error retrieving value");
continue;
}
......@@ -163,7 +162,6 @@ printAtts(int vlistID)
}
else
{
//attGetFail:
puts("error retrieving value");
}
}
......
......@@ -94,7 +94,7 @@ int main(int argc, const char **argv)
(void)streamDefTimestep(streamID, 0);
{
double (*data)[sizex] = (double(*)[80])malloc(sizeof (**data) * sizex * sizey);
double (*data)[sizex] = (double(*)[sizex])malloc(sizeof (**data) * sizex * sizey);
if (!data)
{
perror("data values memory allocation failed");
......
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