Modify ↓
Opened at 2006-08-04T16:15:49Z
Closed at 2006-10-22T13:59:49Z
#193 closed defect (fixed)
[patch] "warning: unused variable `j'" when ipv6 disabled
Reported by: | Owned by: | ||
---|---|---|---|
Priority: | minor | Milestone: | |
Component: | BitlBee | Version: | 1.0.3 |
Keywords: | Cc: | ||
IRC client+version: | Client-independent | Operating System: | Public server |
OS version/distro: |
Description
The warning message really annoys me... ;)
irc.c: In function `irc_new': irc.c:43: warning: unused variable `j'
Patch:
--- bitlbee-1.0.3.orig/irc.c 2006-07-30 12:53:49.000000000 +0000 +++ bitlbee-1.0.3/irc.c 2006-08-04 16:06:27.000000000 +0000 @@ -36,7 +36,8 @@ struct sockaddr_in sock[1]; + unsigned int i; #ifdef IPV6 struct sockaddr_in6 sock6[1]; + unsigned int j; #endif struct hostent *peer; - unsigned int i, j;
Attachments (0)
Change History (1)
comment:1 Changed at 2006-10-22T13:59:49Z by
Resolution: | → fixed |
---|---|
Status: | new → closed |
Note: See
TracTickets for help on using
tickets.
:-D
This problem isn't there in -devel, did some work on the IPv6-specific stuff some time ago. The 1.0.x tree won't get any more releases, so this patch won't be necessary.