[GRASS-dev] Modified i.rgb.his

Markus Neteler neteler at osgeo.org
Sun Sep 11 15:23:18 PDT 2016


Hi

for easier testing, I have enabled g.extension support in the "sandbox":

GRASS 7.2.svn (nc_spm_08_grass7):~ > g.extension i.rgb.hsl
url=trac.osgeo.org/grass/browser/sandbox/alexandris/i.rgb.hsl
Fetching <i.rgb.hsl> from
<https://trac.osgeo.org/grass/browser/sandbox/alexandris/i.rgb.hsl?format=zip>
(be patient)...
Compiling...
main.c: In function ‘main’:
main.c:127:9: warning: this ‘for’ clause does not guard...
[-Wmisleading-indentation]
         for (band = 0; band < 3; band++)
         ^~~
main.c:131:13: note: ...this statement, but the latter is misleadingly
indented as if it is guarded by the ‘for’
             rgb_to_hsl(rowbuffer, cols, max_colors);
             ^~~~~~~~~~
Installing...
Installation of <i.rgb.hsl> successfully finished

Likewise for
g.extension i.rgb.hsl
url=trac.osgeo.org/grass/browser/sandbox/alexandris/i.hsl.rgb

cheers
Markus


More information about the grass-dev mailing list