projects
/
deliverable
/
binutils-gdb.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
gdb: remove unnecessary NULL checks before xfree
[deliverable/binutils-gdb.git]
/
gdb
/
remote.c
diff --git
a/gdb/remote.c
b/gdb/remote.c
index 312a03c8fb42d2c256a049812eff5e19cb58a91f..c73eb6e9e136f4d611aeb631b3641ceda5b238b1 100644
(file)
--- a/
gdb/remote.c
+++ b/
gdb/remote.c
@@
-2615,8
+2615,7
@@
remote_target::pass_signals (gdb::array_view<const unsigned char> pass_signals)
putpkt (pass_packet);
getpkt (&rs->buf, 0);
packet_ok (rs->buf, &remote_protocol_packets[PACKET_QPassSignals]);
- if (rs->last_pass_packet)
- xfree (rs->last_pass_packet);
+ xfree (rs->last_pass_packet);
rs->last_pass_packet = pass_packet;
}
else
This page took
0.024274 seconds
and
4
git commands to generate.