From: Владимир Мартьянов Date: Sun, 17 Mar 2019 09:51:01 +0000 (+0300) Subject: Remove unused variable from windows_make_so X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=d4cbef22ba406707a4fcb30a7a57308447626f14;p=binutils-gdb.git Remove unused variable from windows_make_so There is unused variable text_vma in function windows_make_so. This leads to build error on Windows using Cygwin. gdb/ChangeLog: 2019-03-17 Vladimir Martyanov PR gdb/24350 * windows-nat.c (windows_make_so): Remove unused text_vma variable. --- diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 478ff0a873f..cb7f6b0bf12 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,8 @@ +2019-03-17 Vladimir Martyanov + + PR gdb/24350 + * windows-nat.c (windows_make_so): Remove unused text_vma variable. + 2019-03-17 Vladimir Martyanov PR gdb/24351 diff --git a/gdb/windows-nat.c b/gdb/windows-nat.c index c8acadd398d..d38ade5855b 100644 --- a/gdb/windows-nat.c +++ b/gdb/windows-nat.c @@ -778,7 +778,6 @@ windows_make_so (const char *name, LPVOID load_addr) if (p >= so->so_name && strcasecmp (p, "/cygwin1.dll") == 0) { asection *text = NULL; - CORE_ADDR text_vma; gdb_bfd_ref_ptr abfd (gdb_bfd_open (so->so_name, "pei-i386", -1));