public inbox for gdb-cvs@sourceware.org
help / color / mirror / Atom feed
* [binutils-gdb] Remove no longer used jump label
@ 2022-11-28 19:45 Hannes Domani
  0 siblings, 0 replies; only message in thread
From: Hannes Domani @ 2022-11-28 19:45 UTC (permalink / raw)
  To: gdb-cvs

https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=e1df90510a85d08eae165d868d6aa20bc1d09203

commit e1df90510a85d08eae165d868d6aa20bc1d09203
Author: Hannes Domani <ssbssa@yahoo.de>
Date:   Mon Nov 28 20:10:33 2022 +0100

    Remove no longer used jump label
    
    The out label is unused since wait_for_debug_event is in a different thread.

Diff:
---
 gdb/windows-nat.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/gdb/windows-nat.c b/gdb/windows-nat.c
index e2d2176f138..17422e15f80 100644
--- a/gdb/windows-nat.c
+++ b/gdb/windows-nat.c
@@ -1824,7 +1824,6 @@ windows_nat_target::get_windows_debug_event
 			       windows_process.desired_stop_thread_id, 0));
     }
 
-out:
   if (thread_id == 0)
     return null_ptid;
   return ptid_t (windows_process.current_event.dwProcessId, thread_id, 0);

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2022-11-28 19:45 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-11-28 19:45 [binutils-gdb] Remove no longer used jump label Hannes Domani

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).