[Genabel-commits] r1827 - pkg/filevector/fvfutil

noreply at r-forge.r-project.org noreply at r-forge.r-project.org
Fri Sep 12 10:36:40 CEST 2014


Author: lckarssen
Date: 2014-09-12 10:36:40 +0200 (Fri, 12 Sep 2014)
New Revision: 1827

Modified:
   pkg/filevector/fvfutil/fv2text.cpp
Log:
Fixed uninitialised variable in the FileVector fv2text utility (caught by Jenkins' cppcheck).


Modified: pkg/filevector/fvfutil/fv2text.cpp
===================================================================
--- pkg/filevector/fvfutil/fv2text.cpp	2014-09-12 08:08:05 UTC (rev 1826)
+++ pkg/filevector/fvfutil/fv2text.cpp	2014-09-12 08:36:40 UTC (rev 1827)
@@ -43,7 +43,7 @@
     string inputFileName = string(argv[1]);
     string outputFileName = string(argv[2]);
 
-    bool isRMatrix;
+    bool isRMatrix = false;
 
     if (argc >= 3) {
         isRMatrix = (strcmp(argv[3], "--RMatrix") == 0);



More information about the Genabel-commits mailing list