浏览代码

g.proj: code cleanup for new option list_codes, fix https://trac.osgeo.org/grass/changeset/74220

git-svn-id: https://svn.osgeo.org/grass/grass/trunk@74221 15284696-431f-4ddb-bdfa-cd5b030d7da7
Markus Metz 6 年之前
父节点
当前提交
b8bae219fe
共有 1 个文件被更改,包括 1 次插入2 次删除
  1. 1 2
      general/g.proj/list_codes.c

+ 1 - 2
general/g.proj/list_codes.c

@@ -116,8 +116,7 @@ void list_codes(char *authname)
     /* can't use pj_find_file() from the old proj api
     /* can't use pj_find_file() from the old proj api
      * because it does not exist in PROJ 4 */
      * because it does not exist in PROJ 4 */
     char *grass_proj_share;
     char *grass_proj_share;
-    
-    authname = listcodes->answer;
+
     if (G_strcasecmp(authname, "EPSG") == 0)
     if (G_strcasecmp(authname, "EPSG") == 0)
 	authname = "epsg";
 	authname = "epsg";