Current-Users archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
amd64 build break
On a kernel which does NOT have DEBUG or DIAGNOSTIC, I am getting the
following compile error:
/build/netbsd-local/src/sys/dev/pci/agp_i810.c: In function
'agp_i810_unbind_memory':
/build/netbsd-local/src/sys/dev/pci/agp_i810.c:1368:25: error: unused variable
'isc' [-Werror=unused-variable]
struct agp_i810_softc *isc = sc->as_chipc;
It seems that the only reference to isc is in the KASSERT() at line 1378
which doesn't do anything unless DEBUG is defined!
:)
-------------------------------------------------------------------------
| Paul Goyette | PGP Key fingerprint: | E-mail addresses: |
| Customer Service | FA29 0E3B 35AF E8AE 6651 | paul at whooppee.com |
| Network Engineer | 0786 F758 55DE 53BA 7731 | pgoyette at juniper.net |
| Kernel Developer | | pgoyette at netbsd.org |
-------------------------------------------------------------------------
Home |
Main Index |
Thread Index |
Old Index