浏览代码

fxt: fix warning about unused variable

Philippe SWARTVAGHER 3 年之前
父节点
当前提交
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
 }