[GRASS-dev] [GRASS-SVN] r52607 - grass/trunk/raster/r.lake

Vaclav Petras wenzeslaus at gmail.com
Thu Aug 9 09:19:58 PDT 2012


Hi,

the older version triggers a GCC warning complaining about format string.

Vaclav


On 9 August 2012 17:44, Martin Landa <landa.martin at gmail.com> wrote:
> Hi,
>
> sorry for ignorance, but what is the sense of such changes?
>
> 2012/8/9  <svn_grass at osgeo.org>:
>> Author: marisn
>> Date: 2012-08-09 04:31:49 -0700 (Thu, 09 Aug 2012)
>> New Revision: 52607
>>
>> Modified:
>>    grass/trunk/raster/r.lake/main.c
>>    grass/trunk/raster/r.lake/r.lake.html
>
>>      if (smap_opt->answer && sdxy_opt->answer)
>> -       G_fatal_error(_("Both seed map and coordinates cannot be specified"));
>> +       G_fatal_error("%s", _("Both seed map and coordinates cannot be specified"));
>
> Martin
>
> --
> Martin Landa <landa.martin gmail.com> * http://geo.fsv.cvut.cz/~landa
> _______________________________________________
> grass-dev mailing list
> grass-dev at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/grass-dev


More information about the grass-dev mailing list