projects
/
folly.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9345f46
)
(Folly) Remove unused variable according to -Wunused-variable
author
Hannes Roth
<hannesr@fb.com>
Fri, 3 May 2013 16:37:17 +0000
(09:37 -0700)
committer
Sara Golemon
<sgolemon@fb.com>
Mon, 20 May 2013 18:01:27 +0000
(11:01 -0700)
Summary:
I am trying to move more code into a HPHP extension, and it's complaining about
this.
Test Plan: `fbconfig -r folly && fbmake runtests`
Reviewed By: delong.j@fb.com
FB internal diff:
D799096
folly/dynamic-inl.h
patch
|
blob
|
history
diff --git
a/folly/dynamic-inl.h
b/folly/dynamic-inl.h
index 95d672af6ab1ec7c8819883f732f561912d0bd74..bae776a246f52499b26eea2e7d67d04a35f6b3cb 100644
(file)
--- a/
folly/dynamic-inl.h
+++ b/
folly/dynamic-inl.h
@@
-544,8
+544,7
@@
inline dynamic& dynamic::at(dynamic const& idx) {
return (*parray)[idx.asInt()];
}
- auto* pobj = get_nothrow<ObjectImpl>();
- assert(pobj);
+ assert(get_nothrow<ObjectImpl>());
auto it = find(idx);
if (it == items().end()) {
throw std::out_of_range(to<std::string>(