]> git.ipfire.org Git - thirdparty/elfutils.git/commitdiff
Avoid unused parameter warning users/amerey/try-sample-guard
authorAaron Merey <amerey@redhat.com>
Fri, 24 Oct 2025 19:28:57 +0000 (15:28 -0400)
committerAaron Merey <amerey@redhat.com>
Fri, 24 Oct 2025 19:28:57 +0000 (15:28 -0400)
backends/x86_initreg_sample.c

index 47cd91c238125152fdf1deba2444bf37107180e4..6f99bf5352cf9e1029edf43336703783cf19d2a6 100644 (file)
@@ -39,6 +39,10 @@ x86_sample_sp_pc (const Dwarf_Word *regs, uint32_t n_regs,
   (void)n_regs;
   (void)regs_mapping;
   (void)n_regs_mapping;
+  (void)sp;
+  (void)sp_index;
+  (void)pc;
+  (void)pc_index;
   return false;
 #else /* __x86_64__ */
   /* TODO: Register locations could be cached and rechecked on a