Commit bbe8ee53 authored by Hannes Roth's avatar Hannes Roth Committed by Sara Golemon

(Folly) Remove unused variable according to -Wunused-variable

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
parent 9345f46e
...@@ -544,8 +544,7 @@ inline dynamic& dynamic::at(dynamic const& idx) { ...@@ -544,8 +544,7 @@ inline dynamic& dynamic::at(dynamic const& idx) {
return (*parray)[idx.asInt()]; return (*parray)[idx.asInt()];
} }
auto* pobj = get_nothrow<ObjectImpl>(); assert(get_nothrow<ObjectImpl>());
assert(pobj);
auto it = find(idx); auto it = find(idx);
if (it == items().end()) { if (it == items().end()) {
throw std::out_of_range(to<std::string>( throw std::out_of_range(to<std::string>(
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment