浏览代码

mlr: getting rid of the warning

Luka Stanisic 8 年之前
父节点
当前提交
f9eda77c53
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      src/core/perfmodel/multiple_regression.c

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

@@ -248,7 +248,7 @@ int _starpu_multiple_regression(struct starpu_perfmodel_history_list *ptr, doubl
 	STARPU_ASSERT(n);
 	STARPU_ASSERT(n);
 	
 	
         /* Reading old calibrations if necessary */
         /* Reading old calibrations if necessary */
-	FILE *f;
+	FILE *f=NULL;
 	
 	
 	char directory[100];
 	char directory[100];
 	snprintf(directory, 100, "%s/.starpu/sampling/codelets/tmp", _starpu_get_home_path());
 	snprintf(directory, 100, "%s/.starpu/sampling/codelets/tmp", _starpu_get_home_path());