diff options
author | peter <peter@FreeBSD.org> | 2002-03-12 00:19:14 +0000 |
---|---|---|
committer | peter <peter@FreeBSD.org> | 2002-03-12 00:19:14 +0000 |
commit | e65affeb45ff4099c7ed978c62885def1f1d287c (patch) | |
tree | 82cefba392abd639c77b521259a31aa10c7398d2 /sys | |
parent | ff3e7533a6040dd0b3f831935fcba0036964f8b9 (diff) | |
download | FreeBSD-src-e65affeb45ff4099c7ed978c62885def1f1d287c.zip FreeBSD-src-e65affeb45ff4099c7ed978c62885def1f1d287c.tar.gz |
Fix some -Wunused warnings by "using" a macro argument
Diffstat (limited to 'sys')
-rw-r--r-- | sys/ia64/include/db_machdep.h | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/sys/ia64/include/db_machdep.h b/sys/ia64/include/db_machdep.h index ca184ad..aed18e1 100644 --- a/sys/ia64/include/db_machdep.h +++ b/sys/ia64/include/db_machdep.h @@ -64,13 +64,13 @@ extern db_regs_t ddb_regs; /* register state */ #define IS_BREAKPOINT_TRAP(type, code) (type == IA64_VEC_BREAK) #define IS_WATCHPOINT_TRAP(type, code) 0 -#define inst_trap_return(ins) 0 -#define inst_return(ins) 0 -#define inst_call(ins) 0 -#define inst_branch(ins) 0 -#define inst_load(ins) 0 -#define inst_store(ins) 0 -#define inst_unconditional_flow_transfer(ins) 0 +#define inst_trap_return(ins) (ins & 0) +#define inst_return(ins) (ins & 0) +#define inst_call(ins) (ins & 0) +#define inst_branch(ins) (ins & 0) +#define inst_load(ins) (ins & 0) +#define inst_store(ins) (ins & 0) +#define inst_unconditional_flow_transfer(ins) (ins & 0) #define branch_taken(ins, pc, regs) pc |