summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorToomas Soome <tsoome@me.com>2017-08-10 14:27:15 +0300
committerDan McDonald <danmcd@joyent.com>2017-11-14 11:23:20 -0500
commit44d74681b047548dfbd9a7b3f4e269c98c3b393c (patch)
tree0e4ddf7e17d260a7d616ac6bde9137b421c217cc
parent2f8bbd9dee64b0f32e2f0e385b450b0d7dca7e32 (diff)
downloadillumos-joyent-44d74681b047548dfbd9a7b3f4e269c98c3b393c.tar.gz
8776 krb5kdc: right-hand operand of comma expression has no effect
Reviewed by: C Fraire <cfraire@me.com> Reviewed by: Hans Rosenfeld <rosenfeld@grumpf.hope-2000.org> Reviewed by: Gary Mills <gary_mills@fastmail.fm> Approved by: Dan McDonald <danmcd@joyent.com>
-rw-r--r--usr/src/cmd/krb5/krb5kdc/network.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr/src/cmd/krb5/krb5kdc/network.c b/usr/src/cmd/krb5/krb5kdc/network.c
index fc16b38949..54b0c9531c 100644
--- a/usr/src/cmd/krb5/krb5kdc/network.c
+++ b/usr/src/cmd/krb5/krb5kdc/network.c
@@ -215,7 +215,7 @@ struct connection {
: 0)
#define DEL(set, idx) \
- (set.data[idx] = set.data[--set.n], 0)
+ (set.data[idx] = set.data[--set.n])
#define FREE_SET_DATA(set) if(set.data) free(set.data); \
(set.data = 0, set.max = 0)