X-Git-Url: https://git.liburcu.org/?a=blobdiff_plain;ds=sidebyside;f=src%2Fcommon%2Fevent-rule%2Fjul-logging.cpp;h=319a904a2f27d1a4d2f351882cf9b4905983cb3f;hb=f46376a14da2eb796690cb4e718e8b213839d6ea;hp=77ae3800c2fc30a98efdc68a8e66af85a3949332;hpb=1970828049d051d5cb485dfab995081b4550fd2a;p=lttng-tools.git diff --git a/src/common/event-rule/jul-logging.cpp b/src/common/event-rule/jul-logging.cpp index 77ae3800c..319a904a2 100644 --- a/src/common/event-rule/jul-logging.cpp +++ b/src/common/event-rule/jul-logging.cpp @@ -376,7 +376,7 @@ lttng_event_rule_jul_logging_get_internal_filter_bytecode( static enum lttng_event_rule_generate_exclusions_status lttng_event_rule_jul_logging_generate_exclusions( - const struct lttng_event_rule *rule, + const struct lttng_event_rule *rule __attribute__((unused)), struct lttng_event_exclusion **_exclusions) { /* Unsupported. */ @@ -850,7 +850,8 @@ end: return status; } -static bool log_level_rule_valid(const struct lttng_log_level_rule *rule) +static bool log_level_rule_valid( + const struct lttng_log_level_rule *rule __attribute__((unused))) { /* * For both JUL and LOG4J custom log level are possible and can