浏览代码

fix warning

Samuel Thibault 10 年之前
父节点
当前提交
283de5b3d5
共有 1 个文件被更改,包括 2 次插入2 次删除
  1. 2 2
      src/debug/traces/starpu_fxt.c

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

@@ -732,7 +732,7 @@ static void handle_start_codelet_body(struct fxt_ev_64 *ev, struct starpu_fxt_op
 
 }
 
-static void handle_codelet_data(struct fxt_ev_64 *ev, struct starpu_fxt_options *options)
+static void handle_codelet_data(struct fxt_ev_64 *ev STARPU_ATTRIBUTE_UNUSED, struct starpu_fxt_options *options STARPU_ATTRIBUTE_UNUSED)
 {
 #ifdef STARPU_ENABLE_PAJE_CODELET_DETAILS
 	int worker = ev->param[0];
@@ -747,7 +747,7 @@ static void handle_codelet_data(struct fxt_ev_64 *ev, struct starpu_fxt_options
 #endif /* STARPU_ENABLE_PAJE_CODELET_DETAILS */
 }
 
-static void handle_codelet_details(struct fxt_ev_64 *ev, struct starpu_fxt_options *options)
+static void handle_codelet_details(struct fxt_ev_64 *ev STARPU_ATTRIBUTE_UNUSED, struct starpu_fxt_options *options STARPU_ATTRIBUTE_UNUSED)
 {
 #ifdef STARPU_ENABLE_PAJE_CODELET_DETAILS
 	int worker = ev->param[5];