Author: fjoe Date: Mon Feb 9 16:58:18 2009 New Revision: 188394 URL: http://svn.freebsd.org/changeset/base/188394
Log: Do not self-initialize a variable. Found with: Coverity Prevent(tm) CID: 3864, 3865 Modified: head/sys/dev/firewire/if_fwe.c head/sys/dev/firewire/if_fwip.c Modified: head/sys/dev/firewire/if_fwe.c ============================================================================== --- head/sys/dev/firewire/if_fwe.c Mon Feb 9 16:57:07 2009 (r188393) +++ head/sys/dev/firewire/if_fwe.c Mon Feb 9 16:58:18 2009 (r188394) @@ -445,7 +445,7 @@ fwe_ioctl(struct ifnet *ifp, u_long cmd, #ifdef DEVICE_POLLING { struct ifreq *ifr = (struct ifreq *) data; - struct firewire_comm *fc = fc = fwe->fd.fc; + struct firewire_comm *fc = fwe->fd.fc; if (ifr->ifr_reqcap & IFCAP_POLLING && !(ifp->if_capenable & IFCAP_POLLING)) { Modified: head/sys/dev/firewire/if_fwip.c ============================================================================== --- head/sys/dev/firewire/if_fwip.c Mon Feb 9 16:57:07 2009 (r188393) +++ head/sys/dev/firewire/if_fwip.c Mon Feb 9 16:58:18 2009 (r188394) @@ -427,7 +427,7 @@ fwip_ioctl(struct ifnet *ifp, u_long cmd #ifdef DEVICE_POLLING { struct ifreq *ifr = (struct ifreq *) data; - struct firewire_comm *fc = fc = fwip->fd.fc; + struct firewire_comm *fc = fwip->fd.fc; if (ifr->ifr_reqcap & IFCAP_POLLING && !(ifp->if_capenable & IFCAP_POLLING)) { _______________________________________________ svn-src-all@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/svn-src-all To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"