Remove unused variable allocated_ctx reported by clang.
Differential Revision: D2684 Reviewed by: rodrigc