1
0
mirror of https://github.com/golang/go synced 2024-10-01 16:08:33 -06:00

runtime: remove unused variable

LGTM=bradfitz
R=golang-codereviews, bradfitz
CC=golang-codereviews
https://golang.org/cl/128230047
This commit is contained in:
Josh Bleecher Snyder 2014-08-20 14:36:28 -07:00
parent 68f91aea57
commit cccd66c6c4

View File

@ -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);