runtime: initialize variable to avoid compiler warning
authorIan Lance Taylor <ian@gcc.gnu.org>
Tue, 4 Aug 2015 03:39:21 +0000 (03:39 +0000)
committerIan Lance Taylor <ian@gcc.gnu.org>
Tue, 4 Aug 2015 03:39:21 +0000 (03:39 +0000)
    Reviewed-on: https://go-review.googlesource.com/13095

From-SVN: r226543

gcc/go/gofrontend/MERGE
libgo/runtime/mprof.goc

index 3c9b886cd62d0227095686eb122ca89a2df7ed04..ed65dfd188b5a930a0d9845a842e5f40354394d7 100644 (file)
@@ -1,4 +1,4 @@
-a850225433a66a58613c22185c3b09626f5545eb
+bdd98c601f2c8dbd0bf821548ba09c038f7645c4
 
 The first line of this file holds the git revision number of the last
 merge done from the gofrontend repository.
index c9022df3dfbbb979eca556391387d22efa5365ce..4e8cfc9caca62ee2ba8c20cbf6f6d0d51ecb4acb 100644 (file)
@@ -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);