aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJosh Bleecher Snyder <josharian@gmail.com>2014-08-20 14:36:28 -0700
committerJosh Bleecher Snyder <josharian@gmail.com>2014-08-20 14:36:28 -0700
commitcccd66c6c446fb2d4f2ee74259898d0acb8ec803 (patch)
treec46466cef3225b0e9f6f92ec87a71e182bb276ee /src
parent68f91aea57a81bdaab9da045c5ff09cc825da857 (diff)
downloadgo-cccd66c6c446fb2d4f2ee74259898d0acb8ec803.tar.xz
runtime: remove unused variable
LGTM=bradfitz R=golang-codereviews, bradfitz CC=golang-codereviews https://golang.org/cl/128230047
Diffstat (limited to 'src')
-rw-r--r--src/pkg/runtime/atomic_arm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pkg/runtime/atomic_arm.c b/src/pkg/runtime/atomic_arm.c
index 537bf18331..0cb823bb48 100644
--- a/src/pkg/runtime/atomic_arm.c
+++ b/src/pkg/runtime/atomic_arm.c
@@ -172,7 +172,7 @@ runtimeĀ·atomicstore64(uint64 volatile *addr, uint64 v)
void
runtimeĀ·atomicor8(byte volatile *addr, byte v)
{
- uint32 *addr32, old, word, shift;
+ uint32 *addr32, old, word;
// Align down to 4 bytes and use 32-bit CAS.
addr32 = (uint32*)((uintptr)addr & ~3);