mirror of
https://github.com/golang/go
synced 2024-11-23 20:00:04 -07:00
cmd/gc: silence clang warning
This code is only built when you run 'make' in cmd/gc, not in all.bash. R=golang-dev, jsing, iant CC=golang-dev https://golang.org/cl/19160043
This commit is contained in:
parent
3b0e6c21ae
commit
b8be100d35
@ -62,7 +62,7 @@ begin:
|
||||
// sys.go claims to be in package PACKAGE to avoid
|
||||
// conflicts during "6g sys.go". rename PACKAGE to $2.
|
||||
printf("\t\"");
|
||||
while(q = strstr(p, "PACKAGE")) {
|
||||
while((q = strstr(p, "PACKAGE")) != NULL) {
|
||||
*q = 0;
|
||||
esc(p); // up to the substitution
|
||||
printf("%s", name); // the sub name
|
||||
|
Loading…
Reference in New Issue
Block a user