Przeglądaj źródła

Remove bogus return value from G_trim_decimal()

git-svn-id: https://svn.osgeo.org/grass/grass/trunk@39000 15284696-431f-4ddb-bdfa-cd5b030d7da7
Glynn Clements 15 lat temu
rodzic
commit
8c1f95a84c
1 zmienionych plików z 1 dodań i 1 usunięć
  1. 1 1
      lib/gis/trim_dec.c

+ 1 - 1
lib/gis/trim_dec.c

@@ -27,7 +27,7 @@ void G_trim_decimal(char *buf)
 
     /* don't trim e+20 into e+2 */
     if( strchr(buf, 'e') || strchr(buf, 'E') )
-	return 0;
+	return;
 
     /* find the . */
     while (*buf != '.')