From dd65341e0d3a0df843841796050f98ab1520e623 Mon Sep 17 00:00:00 2001 From: Wouter Bolsterlee Date: Tue, 11 Feb 2014 21:05:15 +0100 Subject: Cosmetic changes to fix Cython warnings Put declarations on separate line to avoid warnings like this: Non-trivial type declarators in shared declaration (e.g. mix of pointers and values). Each pointer declaration should be on its own line. --- msgpack/_unpacker.pyx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/msgpack/_unpacker.pyx b/msgpack/_unpacker.pyx index d5aa46e..a359507 100644 --- a/msgpack/_unpacker.pyx +++ b/msgpack/_unpacker.pyx @@ -221,7 +221,8 @@ cdef class Unpacker(object): object object_hook=None, object object_pairs_hook=None, object list_hook=None, str encoding=None, str unicode_errors='strict', int max_buffer_size=0, object ext_hook=ExtType): - cdef char *cenc=NULL, *cerr=NULL + cdef char *cenc=NULL, + cdef char *cerr=NULL self.file_like = file_like if file_like: -- cgit v1.2.1