libunwind-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Libunwind-devel] [patch][ob] Get rid of some warnings.


From: Paul Pluzhnikov
Subject: [Libunwind-devel] [patch][ob] Get rid of some warnings.
Date: Thu, 15 Oct 2009 16:36:40 -0700 (PDT)

Greetings,

This is rather obvious patch to get rid of some warnings: remove unused
variable and provide missing function prototype.

Thanks,
--
Paul Pluzhnikov

diff --git a/src/dwarf/Gstep.c b/src/dwarf/Gstep.c
index a9b789c..59138e6 100644
--- a/src/dwarf/Gstep.c
+++ b/src/dwarf/Gstep.c
@@ -29,7 +29,6 @@ WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 
SOFTWARE.  */
 HIDDEN int
 dwarf_step (struct dwarf_cursor *c)
 {
-  unw_word_t prev_cfa = c->cfa;
   int ret;
 
   if ((ret = dwarf_find_save_locs (c)) >= 0) {
diff --git a/src/x86_64/Gresume.c b/src/x86_64/Gresume.c
index 0a73441..52571bf 100644
--- a/src/x86_64/Gresume.c
+++ b/src/x86_64/Gresume.c
@@ -46,6 +46,8 @@ my_rt_sigreturn (void *new_sp)
   abort ();
 }
 
+extern void _Ux86_64_setcontext (ucontext_t *);
+
 HIDDEN inline int
 x86_64_local_resume (unw_addr_space_t as, unw_cursor_t *cursor, void *arg)
 {




reply via email to

[Prev in Thread] Current Thread [Next in Thread]