1
0
mirror of https://github.com/golang/go synced 2024-09-25 09:10:14 -06:00

misc/cgo/test: fix a gcc warning

See https://code.google.com/p/go/issues/detail?id=5227#c16.

R=golang-dev, r
CC=golang-dev
https://golang.org/cl/8833044
This commit is contained in:
Shenghou Ma 2013-04-18 02:33:55 +08:00
parent a9c695204d
commit a4196bb6c8

View File

@ -17,7 +17,7 @@ Fontinfo SansTypeface;
extern void init();
Fontinfo loadfont() {
Fontinfo f;
Fontinfo f = {0};
return f;
}