소스 검색

Fix missing model initialization

Samuel Thibault 11 년 전
부모
커밋
21aae50d7c
1개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  1. 2 2
      tools/starpu_perfmodel_plot.c

+ 2 - 2
tools/starpu_perfmodel_plot.c

@@ -1,6 +1,6 @@
 /* StarPU --- Runtime system for heterogeneous multicore architectures.
  *
- * Copyright (C) 2011-2013  Université de Bordeaux 1
+ * Copyright (C) 2011-2014  Université de Bordeaux 1
  * Copyright (C) 2011, 2012, 2013  Centre National de la Recherche Scientifique
  * Copyright (C) 2011  Télécom-SudParis
  *
@@ -635,7 +635,7 @@ static void display_selected_models(FILE *gnuplot_file, struct starpu_perfmodel
 int main(int argc, char **argv)
 {
 	int ret;
-	struct starpu_perfmodel model;
+	struct starpu_perfmodel model = {};
 
 #ifdef __MINGW32__
 	WSADATA wsadata;