]> arthur.barton.de Git - ngircd-alex.git/commit
Fix gcc warning, initialize "list" variable to NULL
authorAlexander Barton <alex@barton.de>
Mon, 12 Mar 2012 21:27:55 +0000 (22:27 +0100)
committerAlexander Barton <alex@barton.de>
Mon, 12 Mar 2012 21:27:55 +0000 (22:27 +0100)
commit0d9740b9fa1a432d35f73fafa7fb2ecd9a435502
tree826ea7d711f29225c33fe27e9b3345ad0e221f86
parente9be3334d1f0a40e44aac7754d828a4ce28a94b7
Fix gcc warning, initialize "list" variable to NULL

This fixes the following warning with gcc 4.6.3.:

  irc-mode.c: In function "Channel_Mode":
  irc-mode.c:947:26: error: "list" may be used uninitialized
                     in this function
  irc-mode.c:884:25: error: "list" may be used uninitialized
                     in this function

(The variable has never been used uninitialized, so don't worry)
src/ngircd/irc-mode.c