Commit Diff
- Commit:
e5174c629c67ba84eedc6e057c66833632293e3f
- From:
- Alexander Barton <alex@barton.de>
- Date:
- Message:
- Fix Send_Message(): "lastCurrentTarget" may be used uninitialized This patch fixes the following warning of GCC 4.3.1: irc.c: In function "Send_Message": irc.c:315: error: "lastCurrentTarget" may be used uninitialized in this function
- Actions:
- Patch | Tree
--- src/ngircd/irc.c +++ src/ngircd/irc.c @@ -312,7 +312,7 @@ Send_Message(CLIENT * Client, REQUEST * Req, int Force CLIENT *cl, *from; CHANNEL *chan; char *currentTarget = Req->argv[0]; - char *lastCurrentTarget; + char *lastCurrentTarget = NULL; assert(Client != NULL); assert(Req != NULL);