浏览代码

Fix reference to wrong (and uninitialised) variable

git-svn-id: https://svn.osgeo.org/grass/grass/trunk@31860 15284696-431f-4ddb-bdfa-cd5b030d7da7
Glynn Clements 17 年之前
父节点
当前提交
c457716083
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      raster/r.lake/main.c

+ 1 - 1
raster/r.lake/main.c

@@ -170,7 +170,7 @@ int main(int argc, char *argv[])
     lake_opt = G_define_standard_option(G_OPT_R_OUTPUT) ;
     lake_opt = G_define_standard_option(G_OPT_R_OUTPUT) ;
     lake_opt->key         = "lake";
     lake_opt->key         = "lake";
     lake_opt->description = _("Name for output raster map with lake");
     lake_opt->description = _("Name for output raster map with lake");
-    smap_opt->required    = NO;
+    lake_opt->required    = NO;
 
 
     sdxy_opt = G_define_option() ;
     sdxy_opt = G_define_option() ;
     sdxy_opt->key         = "xy";
     sdxy_opt->key         = "xy";