diff options
author | ian <ian@138bc75d-0d04-0410-961f-82ee72b054a4> | 2015-08-04 03:39:21 +0000 |
---|---|---|
committer | ian <ian@138bc75d-0d04-0410-961f-82ee72b054a4> | 2015-08-04 03:39:21 +0000 |
commit | 1b02261e37ffab86986b039d289fb2773c4c386b (patch) | |
tree | 143149ded2009ee20205e204b5e488f8d36db5c8 /libgo | |
parent | ff429db2e8b7fbbe83c8b1da0fc44752c1717949 (diff) | |
download | gcc-1b02261e37ffab86986b039d289fb2773c4c386b.tar.gz |
runtime: initialize variable to avoid compiler warning
Reviewed-on: https://go-review.googlesource.com/13095
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@226543 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libgo')
-rw-r--r-- | libgo/runtime/mprof.goc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libgo/runtime/mprof.goc b/libgo/runtime/mprof.goc index c9022df3dfb..4e8cfc9caca 100644 --- a/libgo/runtime/mprof.goc +++ b/libgo/runtime/mprof.goc @@ -403,7 +403,7 @@ func ThreadCreateProfile(p Slice) (n int, ok bool) { func Stack(b Slice, all bool) (n int) { byte *pc; - bool enablegc; + bool enablegc = false; pc = (byte*)(uintptr)runtime_getcallerpc(&b); |