10000 Cosmetic changes to fix Cython warnings · popravich/msgpack-python@dd65341 · GitHub
[go: up one dir, main page]

Skip to content

Commit dd65341

Browse files
committed
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.
1 parent d5436c2 commit dd65341

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

msgpack/_unpacker.pyx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -221,7 +221,8 @@ cdef class Unpacker(object):
221221
object object_hook=None, object object_pairs_hook=None, object list_hook=None,
222222
str encoding=None, str unicode_errors='strict', int max_buffer_size=0,
223223
object ext_hook=ExtType):
224-
cdef char *cenc=NULL, *cerr=NULL
224+
cdef char *cenc=NULL,
225+
cdef char *cerr=NULL
225226

226227
self.file_like = file_like
227228
if file_like:

0 commit comments

Comments
 (0)
0