瀏覽代碼

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;