summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWouter Bolsterlee <uws@xs4all.nl>2014-02-11 21:05:15 +0100
committerWouter Bolsterlee <uws@xs4all.nl>2014-02-11 21:05:15 +0100
commitdd65341e0d3a0df843841796050f98ab1520e623 (patch)
tree887b729880bf6a2a8dc92084b3ff7431afd76198
parentd5436c28197f3ccdd473e1c54838133574948dab (diff)
downloadmsgpack-python-dd65341e0d3a0df843841796050f98ab1520e623.tar.gz
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.
-rw-r--r--msgpack/_unpacker.pyx3
1 files changed, 2 insertions, 1 deletions
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: