From 5faa0ab1be532d6a7c141cce80c54e8fb9c557fa Mon Sep 17 00:00:00 2001 From: Wouter van Oortmerssen Date: Mon, 15 Jun 2015 15:57:48 -0700 Subject: [PATCH] Removed unused variable. Tested: on OS X. --- include/flatbuffers/reflection.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/include/flatbuffers/reflection.h b/include/flatbuffers/reflection.h index 0f77c40c8..fd706f120 100644 --- a/include/flatbuffers/reflection.h +++ b/include/flatbuffers/reflection.h @@ -212,7 +212,7 @@ class ResizeContext { public: ResizeContext(const reflection::Schema &schema, uoffset_t start, int delta, std::vector *flatbuf) - : schema_(schema), start_(start), startptr_(flatbuf->data() + start), + : schema_(schema), startptr_(flatbuf->data() + start), delta_(delta), buf_(*flatbuf), dag_check_(flatbuf->size() / sizeof(uoffset_t), false) { auto mask = sizeof(largest_scalar_t) - 1; @@ -327,7 +327,6 @@ class ResizeContext { private: const reflection::Schema &schema_; - uoffset_t start_; uint8_t *startptr_; int delta_; std::vector &buf_;