소스 검색

Vlib: init variable

git-svn-id: https://svn.osgeo.org/grass/grass/trunk@53315 15284696-431f-4ddb-bdfa-cd5b030d7da7
Markus Metz 12 년 전
부모
커밋
ab0558ac58
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      lib/vector/Vlib/ascii.c

+ 1 - 1
lib/vector/Vlib/ascii.c

@@ -388,7 +388,7 @@ int Vect_write_ascii(FILE *ascii,
 	    db_shutdown_driver(driver);
 	    db_shutdown_driver(driver);
 	}
 	}
 	else {
 	else {
-            int len_all;
+            int len_all = 0;
             
             
             if (column_names[0] && strcmp(column_names[0], "*") == 0) {
             if (column_names[0] && strcmp(column_names[0], "*") == 0) {
                 int icol, ncols;
                 int icol, ncols;