Selaa lähdekoodia

Fix handling of missing null bitmap (bug introduced in https://trac.osgeo.org/grass/changeset/40083)

git-svn-id: https://svn.osgeo.org/grass/grass/trunk@40500 15284696-431f-4ddb-bdfa-cd5b030d7da7
Glynn Clements 15 vuotta sitten
vanhempi
commit
0cd13801af
1 muutettua tiedostoa jossa 2 lisäystä ja 0 poistoa
  1. 2 0
      lib/raster/get_row.c

+ 2 - 0
lib/raster/get_row.c

@@ -905,6 +905,8 @@ static void get_null_value_row_nomask(int fd, char *flags, int row)
 		G_zero(flags, sizeof(char) * G__.window.cols);
 		G_zero(flags, sizeof(char) * G__.window.cols);
 		/* the flags row is ready now */
 		/* the flags row is ready now */
 	    }
 	    }
+
+	    return;
 	}			/*if no null file */
 	}			/*if no null file */
 	else
 	else
 	    fcb->null_cur_row = row;
 	    fcb->null_cur_row = row;