[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Libunwind-devel] [PATCH 12/19] Avoid LLVM -Wunused-value warning in src
From: |
Tommi Rantala |
Subject: |
[Libunwind-devel] [PATCH 12/19] Avoid LLVM -Wunused-value warning in src/dwarf/Gexpr.c |
Date: |
Wed, 5 Sep 2012 14:50:20 +0300 |
src/dwarf/Gexpr.c:434:4: warning: expression result unused [-Wunused-value]
pop ();
^~~~~~
src/dwarf/Gexpr.c:211:14: note: expanded from:
stack[--tos]; \
~~~~~ ~~~~~^
---
src/dwarf/Gexpr.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/dwarf/Gexpr.c b/src/dwarf/Gexpr.c
index 4a01215..6eaffca 100644
--- a/src/dwarf/Gexpr.c
+++ b/src/dwarf/Gexpr.c
@@ -431,7 +431,7 @@ do { \
case DW_OP_drop:
Debug (15, "OP_drop\n");
- pop ();
+ (void) pop ();
break;
case DW_OP_pick:
--
1.7.9.5
- [Libunwind-devel] [PATCH 05/19] PPC: return failure from the unw_get_proc_info() stub, (continued)
- [Libunwind-devel] [PATCH 05/19] PPC: return failure from the unw_get_proc_info() stub, Tommi Rantala, 2012/09/05
- [Libunwind-devel] [PATCH 06/19] Remove free() NULL pointer checks in load_debug_frame() error path, Tommi Rantala, 2012/09/05
- [Libunwind-devel] [PATCH 08/19] Rename `backtrace' to `do_backtrace' in tests/Gtest-init.cxx, Tommi Rantala, 2012/09/05
- [Libunwind-devel] [PATCH 07/19] Eliminate one heap allocation in dwarf_find_debug_frame(), Tommi Rantala, 2012/09/05
- [Libunwind-devel] [PATCH 09/19] Check correct variable for offset in tests/Gtest-init.cxx, Tommi Rantala, 2012/09/05
- [Libunwind-devel] [PATCH 11/19] Do not print garbage proc info in tests/Gtest-bt.c, Tommi Rantala, 2012/09/05
- [Libunwind-devel] [PATCH 14/19] Provide manual page for `unw_backtrace()', Tommi Rantala, 2012/09/05
- [Libunwind-devel] [PATCH 12/19] Avoid LLVM -Wunused-value warning in src/dwarf/Gexpr.c,
Tommi Rantala <=
- [Libunwind-devel] [PATCH 13/19] Remove AC_FUNC_MEMCMP check from configure.in, Tommi Rantala, 2012/09/05
- [Libunwind-devel] [PATCH 10/19] Change test-varargs to check libunwind backtracing, Tommi Rantala, 2012/09/05
[Libunwind-devel] [PATCH 16/19] ARM: invalidate proc info after non-dwarf unw_step(), Tommi Rantala, 2012/09/05
[Libunwind-devel] [PATCH 15/19] Implement _UCD_access_reg() for ARM, Tommi Rantala, 2012/09/05
[Libunwind-devel] [PATCH 19/19] Rename and share `ALIGN' macro from _UCD_internal.h, Tommi Rantala, 2012/09/05
[Libunwind-devel] [PATCH 18/19] Fix IA64 separate builddir cursor generation, Tommi Rantala, 2012/09/05