Преглед изворни кода

fxt: fix warning about unused variable

Philippe SWARTVAGHER пре 4 година
родитељ
комит
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
 }