[GRASS-SVN] r66682 - grass/trunk/imagery/i.modis.qc
svn_grass at osgeo.org
svn_grass at osgeo.org
Fri Oct 30 12:09:12 PDT 2015
Author: ychemin
Date: 2015-10-30 12:09:12 -0700 (Fri, 30 Oct 2015)
New Revision: 66682
Modified:
grass/trunk/imagery/i.modis.qc/main.c
Log:
added parentheses to sub-groups of logic
Modified: grass/trunk/imagery/i.modis.qc/main.c
===================================================================
--- grass/trunk/imagery/i.modis.qc/main.c 2015-10-30 17:23:35 UTC (rev 66681)
+++ grass/trunk/imagery/i.modis.qc/main.c 2015-10-30 19:09:12 UTC (rev 66682)
@@ -334,8 +334,8 @@
result = output->answer;
/*mod09Q1*/
- if (!strcmp(qcflag, "cloud") && strcmp(product, "mod09Q1") ||
- !strcmp(qcflag, "diff_orbit_from_500m") && strcmp(product, "mod09Q1"))
+ if ((!strcmp(qcflag, "cloud") && strcmp(product, "mod09Q1")) ||
+ (!strcmp(qcflag, "diff_orbit_from_500m") && strcmp(product, "mod09Q1")))
G_fatal_error(_("This bit flag is only available for MOD09Q1 @ 250m products"));
if (!strcmp(qcflag, "data_quality")) {
More information about the grass-commit
mailing list