mirror of
https://github.com/tobast/libunwind-eh_elf.git
synced 2024-11-25 00:27:39 +01:00
ppc32: add UNUSED attribute to dmy_ctxt
This commit is contained in:
parent
4ddca1acf1
commit
fa56db394d
1 changed files with 1 additions and 1 deletions
|
@ -43,7 +43,7 @@ WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
|
|||
|
||||
/* These are dummy structures used only for obtaining the offsets of the
|
||||
various structure members. */
|
||||
static ucontext_t dmy_ctxt;
|
||||
static ucontext_t dmy_ctxt UNUSED;
|
||||
|
||||
#define UC_MCONTEXT_GREGS_R0 ((void *)&dmy_ctxt.uc_mcontext.uc_regs->gregs[0] - (void *)&dmy_ctxt)
|
||||
#define UC_MCONTEXT_GREGS_R1 ((void *)&dmy_ctxt.uc_mcontext.uc_regs->gregs[1] - (void *)&dmy_ctxt)
|
||||
|
|
Loading…
Reference in a new issue