Skip to content

Commit ed30252

Browse files
author
David LeBlanc
committed
Spaces not tabs
1 parent 2deed25 commit ed30252

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/unpack.c

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -190,7 +190,7 @@ static inline int template_callback_false(unpack_user* u, msgpack_object* o)
190190
static inline int template_callback_array(unpack_user* u, unsigned int n, msgpack_object* o)
191191
{
192192
unsigned int size;
193-
unsigned long long tmp;
193+
unsigned long long tmp;
194194

195195
o->type = MSGPACK_OBJECT_ARRAY;
196196
o->via.array.size = 0;
@@ -201,7 +201,7 @@ static inline int template_callback_array(unpack_user* u, unsigned int n, msgpac
201201
return MSGPACK_UNPACK_NOMEM_ERROR;
202202
}
203203

204-
size = (unsigned int)tmp;
204+
size = (unsigned int)tmp;
205205

206206
if (*u->z == NULL) {
207207
*u->z = msgpack_zone_new(MSGPACK_ZONE_CHUNK_SIZE);
@@ -210,7 +210,7 @@ static inline int template_callback_array(unpack_user* u, unsigned int n, msgpac
210210
}
211211
}
212212

213-
// Unsure whether size = 0 should be an error, and if so, what to return
213+
// Unsure whether size = 0 should be an error, and if so, what to return
214214
o->via.array.ptr = (msgpack_object*)msgpack_zone_malloc(*u->z, size);
215215
if(o->via.array.ptr == NULL) { return MSGPACK_UNPACK_NOMEM_ERROR; }
216216
return 0;
@@ -231,7 +231,7 @@ static inline int template_callback_array_item(unpack_user* u, msgpack_object* c
231231
static inline int template_callback_map(unpack_user* u, unsigned int n, msgpack_object* o)
232232
{
233233
unsigned int size;
234-
unsigned long long tmp;
234+
unsigned long long tmp;
235235

236236
o->type = MSGPACK_OBJECT_MAP;
237237
o->via.map.size = 0;

0 commit comments

Comments
 (0)