Преглед на файлове

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);
 	
         /* Reading old calibrations if necessary */
-	FILE *f;
+	FILE *f=NULL;
 	
 	char directory[100];
 	snprintf(directory, 100, "%s/.starpu/sampling/codelets/tmp", _starpu_get_home_path());