]> arthur.barton.de Git - ngircd-alex.git/commit
Fix GCC warnings for possibly uninitialized variables in IRC_JOIN
authorAlexander Barton <alex@barton.de>
Mon, 16 Jun 2008 11:07:50 +0000 (13:07 +0200)
committerAlexander Barton <alex@barton.de>
Mon, 16 Jun 2008 11:18:03 +0000 (13:18 +0200)
commit258e39e89f494600cf142ba1fd768f2faa285dbf
treeae6b797723296f09ceb603d2195e1cf6bd611be2
parente142c50ae69182d484e55a3da1f065f3d958d93e
Fix GCC warnings for possibly uninitialized variables in IRC_JOIN

This patch fixes the following two warnings of GCC 4.2.4:

irc-channel.c: In function "IRC_JOIN":
irc-channel.c:185:
 warning: "lastkey" may be used uninitialized in this function
irc-channel.c:185:
 warning: "lastchan" may be used uninitialized in this function
src/ngircd/irc-channel.c