File tree Expand file tree Collapse file tree 1 file changed +5
-3
lines changed
Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Original file line number Diff line number Diff line change 66 This Source Code Form is subject to the terms of the Mozilla Public
77 License, v. 2.0. If a copy of the MPL was not distributed with this
88 file, You can obtain one at http://mozilla.org/MPL/2.0/.
9-
109*/
1110
1211#ifndef RPCLITE_DECODER_H
1312#define RPCLITE_DECODER_H
1413
14+ // MsgPack log level
15+ #define DEBUGLOG_DEFAULT_LOG_LEVEL_WARN
16+
1517#include " MsgPack.h"
1618#include " transport.h"
1719#include " rpclite_utils.h"
@@ -206,7 +208,7 @@ class RpcDecoder {
206208
207209 size_t bytes_checked = 0 ;
208210 size_t container_size;
209- int type;
211+ int type = NO_MSG ;
210212 MsgPack::Unpacker unpacker;
211213
212214 while (bytes_checked + offset < _bytes_stored){
@@ -343,4 +345,4 @@ class RpcDecoder {
343345
344346};
345347
346- #endif
348+ #endif
You can’t perform that action at this time.
0 commit comments