diff options
author | Richard Basch <probe@mit.edu> | 1993-03-23 13:48:09 +0000 |
---|---|---|
committer | Richard Basch <probe@mit.edu> | 1993-03-23 13:48:09 +0000 |
commit | 88af730e2f95d810f72f313fcc311cb19aa1bf39 (patch) | |
tree | ba1b8eeafd5d548901fc22339c57972ebc956799 /server/subscr.c | |
parent | 8f7b0e35d412bebe53c35054976ae59e2e2292c9 (diff) |
Avoid an empty "if" statement
Diffstat (limited to 'server/subscr.c')
-rw-r--r-- | server/subscr.c | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/server/subscr.c b/server/subscr.c index a2885ce..99526c0 100644 --- a/server/subscr.c +++ b/server/subscr.c @@ -127,7 +127,6 @@ subscr_subscribe(who, notice) { ZSubscr_t *subs; - if (!who->zct_subs) { /* allocate a subscription head */ if (!(subs = (ZSubscr_t *) xmalloc(sizeof(ZSubscr_t)))) @@ -500,13 +499,10 @@ subscr_cancel_client(client) #if 0 zdbug((LOG_DEBUG,"sub_can %s", subs->zst_dest.classname->string)); -#endif if (class_deregister(client, subs) != ZERR_NONE) { -#if 0 zdbug((LOG_DEBUG,"sub_can_clt: not registered!")); -#endif } - +#endif xremque(subs); free_zstring(subs->zst_dest.classname); free_zstring(subs->zst_dest.inst); |