• Ian Lance Taylor's avatar
    test: explicitly use variables to avoid gccgo "not used" error · 387e7c27
    Ian Lance Taylor authored
    I haven't looked at the source, but the gc compiler appears to
    omit "not used" errors when there is an error in the
    initializer.  This is harder to do in gccgo, and frankly I
    think the "not used" error is still useful even if the
    initializer has a problem.  This CL tweaks some tests to avoid
    the error, which is not the point of these tests in any case.
    
    R=golang-dev, r
    CC=golang-dev
    https://golang.org/cl/5561059
    387e7c27
Name
Last commit
Last update
doc Loading commit data...
include Loading commit data...
lib Loading commit data...
misc Loading commit data...
src Loading commit data...
test Loading commit data...
.hgignore Loading commit data...
.hgtags Loading commit data...
AUTHORS Loading commit data...
CONTRIBUTORS Loading commit data...
LICENSE Loading commit data...
PATENTS Loading commit data...
README Loading commit data...
favicon.ico Loading commit data...
robots.txt Loading commit data...