gollvm: clean up a couple of unused variables

Remove two unused variables (compiler warnings cleanup).

Change-Id: Ic3548178ae48c8d6cdfd269fc7c686d450aacaf6
Reviewed-on: https://go-review.googlesource.com/56411
Reviewed-by: Cherry Zhang <cherryyz@google.com>
diff --git a/llvm-gofrontend/go-llvm-builtins.cpp b/llvm-gofrontend/go-llvm-builtins.cpp
index fd0f33a..73fd8e1 100644
--- a/llvm-gofrontend/go-llvm-builtins.cpp
+++ b/llvm-gofrontend/go-llvm-builtins.cpp
@@ -85,7 +85,6 @@
 void BuiltinTable::defineIntrinsicBuiltins() {
   Btype *boolType = tman_->boolType();
   Btype *ptrType = tman_->pointerType(boolType);
-  Btype *oneBitIntegerType = tman_->integerType(true, 1);
   Btype *uint32Type = tman_->integerType(true, 32);
   unsigned bitsInPtr = tman_->datalayout()->getPointerSizeInBits();
   Btype *uintPtrType = tman_->integerType(true, bitsInPtr);
diff --git a/unittests/BackendCore/BackendPointerExprTests.cpp b/unittests/BackendCore/BackendPointerExprTests.cpp
index 64b4388..17e0830 100644
--- a/unittests/BackendCore/BackendPointerExprTests.cpp
+++ b/unittests/BackendCore/BackendPointerExprTests.cpp
@@ -488,7 +488,6 @@
 {
   FcnTestHarness h("foo");
   Llvm_backend *be = h.be();
-  Bfunction *func = h.func();
   Location loc;
 
   // *(*int32)(unsafe.Pointer(uintptr(0x10101))) = 0