Commit c3bc45d7 authored by Thomas Jahns's avatar Thomas Jahns 🤸
Browse files

Merge declaration and initialization.

parent 0fb8883e
......@@ -3291,10 +3291,9 @@ static void gridPrintKernel(grid_t * gridptr, int index, int opt, FILE *fp)
if ( type == GRID_GAUSSIAN_REDUCED )
{
int *rowlon;
nbyte0 = fprintf(fp, "rowlon = ");
nbyte = nbyte0;
rowlon = (int *) Malloc((size_t)ysize*sizeof(int));
int *rowlon = (int *) Malloc((size_t)ysize*sizeof(int));
gridInqRowlon(gridID, rowlon);
for ( i = 0; i < ysize; i++ )
{
......
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