This is an automated email from the ASF dual-hosted git repository. astitcher pushed a commit to branch main in repository https://gitbox.apache.org/repos/asf/qpid-proton.git
The following commit(s) were added to refs/heads/main by this push: new fec172cfd PROTON-2095: Fix some harmless (but distracting and unnecessary) warnings fec172cfd is described below commit fec172cfdaa888f4cabace21f2ad435adb5fe9e9 Author: Andrew Stitcher <astitc...@apache.org> AuthorDate: Tue Jan 31 16:15:31 2023 -0500 PROTON-2095: Fix some harmless (but distracting and unnecessary) warnings --- python/ext_build.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/python/ext_build.py b/python/ext_build.py index c6dc6e40e..8590cdb37 100644 --- a/python/ext_build.py +++ b/python/ext_build.py @@ -159,8 +159,8 @@ int pn_ssl_get_peer_hostname_py(pn_ssl_t *ssl, char *hostname, size_t size) { } const char *pn_event_class_name_py(pn_event_t *event) { - pn_class_t *class = pn_event_class(event); - return class ? pn_class_name(class) : class; + const pn_class_t *class = pn_event_class(event); + return class ? pn_class_name(class) : 0; } void init() { --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@qpid.apache.org For additional commands, e-mail: commits-h...@qpid.apache.org