projects
/
ircu2.10.12-pk.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Fix uninitialized variable warning about 'chan'.
[ircu2.10.12-pk.git]
/
ircd
/
whocmds.c
diff --git
a/ircd/whocmds.c
b/ircd/whocmds.c
index 6516d74eb356e467ed08a4e9c959b060f6135ea9..1388238b33b077e649ac10baeb6c45b05ba4c8d9 100644
(file)
--- a/
ircd/whocmds.c
+++ b/
ircd/whocmds.c
@@
-72,7
+72,7
@@
void do_who(struct Client* sptr, struct Client* acptr, struct Channel* repchan,
int fields, char* qrt)
{
char *p1;
- struct Membership *chan;
+ struct Membership *chan
= 0
;
static char buf1[512];
/* NOTE: with current fields list and sizes this _cannot_ overrun,