From: Dave Brolley Date: Tue, 11 Aug 2009 15:57:04 +0000 (-0400) Subject: Add 'unused' attribute to module_data and module_size arguments of check_permissions. X-Git-Tag: release-1.0~171 X-Git-Url: https://sourceware.org/git/?a=commitdiff_plain;h=121d0bf7a7dc0d8cd48dfc94724c1f108c85f01e;p=systemtap.git Add 'unused' attribute to module_data and module_size arguments of check_permissions. --- diff --git a/runtime/staprun/staprun_funcs.c b/runtime/staprun/staprun_funcs.c index 4e525b006..6ef96111e 100644 --- a/runtime/staprun/staprun_funcs.c +++ b/runtime/staprun/staprun_funcs.c @@ -448,8 +448,10 @@ check_groups (void) * * Returns: -1 on errors, 0 on failure, 1 on success. */ -int check_permissions(const void *module_data, off_t module_size) -{ +int check_permissions( + const void *module_data __attribute__ ((unused)), + off_t module_size __attribute__ ((unused)) +) { int check_groups_rc; int check_signature_rc = 0;