Browse Source

src/core/perfmodel/perfmodel_history.c: set initial value

Nathalie Furmento 11 years ago
parent
commit
a1638adff7
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/core/perfmodel/perfmodel_history.c

+ 1 - 1
src/core/perfmodel/perfmodel_history.c

@@ -479,7 +479,7 @@ static void parse_comb(FILE *f, struct starpu_perfmodel *model, unsigned scan_hi
 
 static void parse_model_file(FILE *f, struct starpu_perfmodel *model, unsigned scan_history)
 {
-	int ret, version;
+	int ret, version=0;
 
 	/* Parsing performance model version */
 	_starpu_drop_comments(f);