mirror of
https://github.com/golang/go
synced 2024-11-19 07:04:43 -07:00
runtime: remove unused variable
LGTM=bradfitz R=golang-codereviews, bradfitz CC=golang-codereviews https://golang.org/cl/128230047
This commit is contained in:
parent
68f91aea57
commit
cccd66c6c4
@ -172,7 +172,7 @@ runtime·atomicstore64(uint64 volatile *addr, uint64 v)
|
|||||||
void
|
void
|
||||||
runtime·atomicor8(byte volatile *addr, byte v)
|
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.
|
// Align down to 4 bytes and use 32-bit CAS.
|
||||||
addr32 = (uint32*)((uintptr)addr & ~3);
|
addr32 = (uint32*)((uintptr)addr & ~3);
|
||||||
|
Loading…
Reference in New Issue
Block a user