Quash various warnings from higher levels of compiler warnings.
authorMichael Poole <mdpoole@troilus.org>
Fri, 25 Apr 2014 00:34:06 +0000 (20:34 -0400)
committerMichael Poole <mdpoole@troilus.org>
Fri, 25 Apr 2014 00:34:06 +0000 (20:34 -0400)
commit46f401ef80a4bede99ed5034d03836f6e7ca6936
treea1ac5b2e6c9dceb197fc005db181cc9c47aa5e74
parentd0a284c68368f5cd58309293e936f82e032f7ae8
Quash various warnings from higher levels of compiler warnings.

Two changes are to avoid never-true checks that a local array is not a
null pointer; two changes are to the length arguments of memset/memcpy.
(The MD5 change is just for cleaning up; the parser change should only
affect systems where sizeof(long) != sizeof(struct ListenerFlags*), but
that is not true of any system that is likely to run ircu2.)
ircd/crule.c
ircd/ircd_md5.c
ircd/ircd_parser.y
ircd/m_pass.c