From bbe8ee53ab2e73e900751611e09cd448d58bb07a Mon Sep 17 00:00:00 2001 From: Hannes Roth Date: Fri, 3 May 2013 09:37:17 -0700 Subject: [PATCH] (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 --- folly/dynamic-inl.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/folly/dynamic-inl.h b/folly/dynamic-inl.h index 95d672af..bae776a2 100644 --- 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(); - assert(pobj); + assert(get_nothrow()); auto it = find(idx); if (it == items().end()) { throw std::out_of_range(to( -- 2.34.1