Commit b8be100d authored by Russ Cox's avatar Russ Cox

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
parent 3b0e6c21
...@@ -62,7 +62,7 @@ begin: ...@@ -62,7 +62,7 @@ begin:
// sys.go claims to be in package PACKAGE to avoid // sys.go claims to be in package PACKAGE to avoid
// conflicts during "6g sys.go". rename PACKAGE to $2. // conflicts during "6g sys.go". rename PACKAGE to $2.
printf("\t\""); printf("\t\"");
while(q = strstr(p, "PACKAGE")) { while((q = strstr(p, "PACKAGE")) != NULL) {
*q = 0; *q = 0;
esc(p); // up to the substitution esc(p); // up to the substitution
printf("%s", name); // the sub name printf("%s", name); // the sub name
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment