Commit d4efef7c authored by Denis Bilenko's avatar Denis Bilenko

fix cython warning

parent 21432b20
...@@ -391,7 +391,7 @@ cdef public class channel [object PyGeventAresChannelObject, type PyGeventAresCh ...@@ -391,7 +391,7 @@ cdef public class channel [object PyGeventAresChannelObject, type PyGeventAresCh
cpdef _getnameinfo(self, object callback, tuple sockaddr, int flags): cpdef _getnameinfo(self, object callback, tuple sockaddr, int flags):
if not self.channel: if not self.channel:
raise get_socket_gaierror()(cares.ARES_EDESTRUCTION, 'this ares channel has been destroyed') raise get_socket_gaierror()(cares.ARES_EDESTRUCTION, 'this ares channel has been destroyed')
cdef char* hostp cdef char* hostp = NULL
cdef int port = 0 cdef int port = 0
cdef int flowinfo = 0 cdef int flowinfo = 0
cdef int scope_id = 0 cdef int scope_id = 0
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment