Remove dead code from windows_nat_target::detach
authorTom Tromey <tromey@adacore.com>
Fri, 22 Jul 2022 18:55:27 +0000 (12:55 -0600)
committerTom Tromey <tromey@adacore.com>
Mon, 25 Jul 2022 13:29:58 +0000 (07:29 -0600)
commiteea2d83593428d2ac18f6b3fc43cff5472521579
tree4162da247e301d290ee48fb2f2bbfa1200c9acb5
parent90ed15932111ce37c4187163dd9279ef1798f24e
Remove dead code from windows_nat_target::detach

windows_nat_target::detach has a variable 'detached' that is only set
after a call to 'error'.  However, this can't happen because 'error'
throws an exception.

This patch removes the dead code.
gdb/windows-nat.c