Просмотр исходного кода

fxt: fix warning about unused variable

Philippe SWARTVAGHER лет назад: 3
Родитель
Сommit
4c6fc5f6f2
1 измененных файлов с 2 добавлено и 0 удалено
  1. 2 0
      src/debug/traces/starpu_fxt.c

+ 2 - 0
src/debug/traces/starpu_fxt.c

@@ -4387,6 +4387,8 @@ void _starpu_fxt_papi_file_init(struct starpu_fxt_options *options)
 	}
 	else
 		papi_file = NULL;
+#else
+	(void) options; // avoid warning about unused variable
 #endif
 }