Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Variable should be initialized.
authorArnaud Giersch <arnaud.giersch@iut-bm.univ-fcomte.fr>
Thu, 10 Jan 2013 15:05:18 +0000 (16:05 +0100)
committerArnaud Giersch <arnaud.giersch@iut-bm.univ-fcomte.fr>
Thu, 10 Jan 2013 15:30:18 +0000 (16:30 +0100)
buildtools/Cmake/Scripts/generate_memcheck_tests.pl

index d0d6248..fbbc74f 100755 (executable)
@@ -103,7 +103,7 @@ while ( defined( $line = <MAKETEST> ) ) {
             my ($count_first)  = 0;
             my ($count_second) = 0;
             open TESH_FILE, $tesh_file or die "Unable to open $tesh_file $!\n";
             my ($count_first)  = 0;
             my ($count_second) = 0;
             open TESH_FILE, $tesh_file or die "Unable to open $tesh_file $!\n";
-            my ($input);
+            my ($input) = "";
             my ($l);
             while ( defined( $l = <TESH_FILE> ) ) {
                 chomp $l;
             my ($l);
             while ( defined( $l = <TESH_FILE> ) ) {
                 chomp $l;