]> jfr.im git - solanum.git/commit - ircd/send.c
ircd: sendto_one_notice: avoid clang static analysis warning
authorSimon Arlott <sa.me.uk>
Sat, 29 Jul 2017 19:41:37 +0000 (20:41 +0100)
committerSimon Arlott <sa.me.uk>
Sat, 29 Jul 2017 21:39:49 +0000 (22:39 +0100)
commitd856535eddb84b18f55cbdcb0a6b0382cb643c20
tree51ea2c35072b35593829290dc780028f0d5c4f4b
parent45285c4a736a5f6f75eae2bdcaa1e3b39e502eb5
ircd: sendto_one_notice: avoid clang static analysis warning

target_p->from can't be NULL, and if it is then get_id(..., target_p)
dereferences it later in the function anyway
ircd/send.c