[GRASS-SVN] r42344 - grass/trunk/display/d.info
svn_grass at osgeo.org
svn_grass at osgeo.org
Mon May 24 21:03:36 EDT 2010
Author: glynn
Date: 2010-05-24 21:03:36 -0400 (Mon, 24 May 2010)
New Revision: 42344
Modified:
grass/trunk/display/d.info/main.c
Log:
Fix segfault caused by r33172
Modified: grass/trunk/display/d.info/main.c
===================================================================
--- grass/trunk/display/d.info/main.c 2010-05-24 20:01:07 UTC (rev 42343)
+++ grass/trunk/display/d.info/main.c 2010-05-25 01:03:36 UTC (rev 42344)
@@ -21,7 +21,7 @@
int main(int argc, char *argv[])
{
struct GModule *module;
- struct Flag *rflag, *dflag, *cflag, *fflag, *bflag, *gflag;
+ struct Flag *rflag, *dflag, *fflag, *bflag, *gflag;
double t, b, l, r;
double n, s, e, w;
@@ -57,7 +57,7 @@
if (G_parser(argc, argv))
exit(EXIT_FAILURE);
- if (!rflag->answer && !dflag->answer && !cflag->answer &&
+ if (!rflag->answer && !dflag->answer &&
!fflag->answer && !bflag->answer && !gflag->answer) {
G_usage();
exit(EXIT_FAILURE);
More information about the grass-commit
mailing list