[Bug translator/10509] Compilation error on systems not having NSS support
wenji dot huang at oracle dot com
sourceware-bugzilla@sourceware.org
Tue Aug 11 06:32:00 GMT 2009
------- Additional Comments From wenji dot huang at oracle dot com 2009-08-11 06:31 -------
Reproduced. Maybe add NOPs to let the compiler know the variables are used.
diff --git a/runtime/staprun/staprun_funcs.c b/runtime/staprun/staprun_funcs.c
index 4e525b0..096820b 100644
--- a/runtime/staprun/staprun_funcs.c
+++ b/runtime/staprun/staprun_funcs.c
@@ -459,6 +459,9 @@ int check_permissions(const void *module_data, off_t
module_size)
check_signature_rc = check_signature (module_data, module_size);
if (check_signature_rc == MODULE_ALTERED)
return 0;
+#else /* NOP to keep the parameters used */
+ module_data = module_data;
+ module_size = module_size;
#endif
/* If we're root, we can do anything. */
--
http://sourceware.org/bugzilla/show_bug.cgi?id=10509
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
More information about the Systemtap
mailing list