projects
/
folly.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Enable -Wunused-variables
[folly.git]
/
folly
/
RWSpinLock.h
diff --git
a/folly/RWSpinLock.h
b/folly/RWSpinLock.h
index 6a5436dc69dfd639d837af1e4b936ba6eb3739af..3cce0d90603ef02b1dafec7ac5581279a1d020d4 100644
(file)
--- a/
folly/RWSpinLock.h
+++ b/
folly/RWSpinLock.h
@@
-678,7
+678,7
@@
class RWTicketSpinLockT {
}
void unlock_shared() {
-
QuarterInt val =
__sync_fetch_and_add(&ticket.write, 1);
+ __sync_fetch_and_add(&ticket.write, 1);
}
class WriteHolder;