Commit 3d231a05 authored by Thomas Jahns's avatar Thomas Jahns 🤸
Browse files

Merge declaration and initialization in find_leadtime.

parent 5145df66
......@@ -7215,9 +7215,8 @@ static
int find_leadtime(int nvars, ncvar_t *ncvars)
{
int leadtime_id = UNDEFID;
int ncvarid;
for ( ncvarid = 0; ncvarid < nvars; ncvarid++ )
for ( int ncvarid = 0; ncvarid < nvars; ncvarid++ )
{
if ( ncvars[ncvarid].stdname[0] )
{
......
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