diff --git a/misc/cgo/test/issue5227.go b/misc/cgo/test/issue5227.go index d89a1cabf2..336c4c6091 100644 --- a/misc/cgo/test/issue5227.go +++ b/misc/cgo/test/issue5227.go @@ -17,7 +17,7 @@ Fontinfo SansTypeface; extern void init(); Fontinfo loadfont() { - Fontinfo f; + Fontinfo f = {0}; return f; }