Skip to content

Commit bae148b

Browse files
Remove unnecessary lines from 'parse.hpp'
1 parent 3fcecf7 commit bae148b

File tree

2 files changed

+0
-4
lines changed

2 files changed

+0
-4
lines changed

include/msgpack/v2/parse.hpp

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -241,8 +241,6 @@ inline parse_return context<VisitorHolder>::execute(const char* data, std::size_
241241
const char* const pe = data + len;
242242
const char* n = MSGPACK_NULLPTR;
243243

244-
msgpack::object obj;
245-
246244
if(m_current == pe) {
247245
off = static_cast<std::size_t>(m_current - m_start);
248246
return PARSE_CONTINUE;

include/msgpack/v3/parse.hpp

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -250,8 +250,6 @@ inline parse_return context<VisitorHolder>::execute(const char* data, std::size_
250250
const char* const pe = data + len;
251251
const char* n = MSGPACK_NULLPTR;
252252

253-
msgpack::object obj;
254-
255253
if(m_current == pe) {
256254
off = static_cast<std::size_t>(m_current - m_start);
257255
return PARSE_CONTINUE;

0 commit comments

Comments
 (0)