From a4251ee228e8b063467e859d502d9531e4cbb13f Mon Sep 17 00:00:00 2001 From: Christian Tismer Date: Sun, 24 Sep 2017 11:36:49 +0200 Subject: Signature: buglet makes clang complain Some small oversight is now an error after the last clang update. Change-Id: I61b118d772cacdf7950e3b43e76cc4351c3062f3 Reviewed-by: Friedemann Kleint --- sources/shiboken2/libshiboken/signature.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sources') diff --git a/sources/shiboken2/libshiboken/signature.cpp b/sources/shiboken2/libshiboken/signature.cpp index cca0847b2..883ef7392 100644 --- a/sources/shiboken2/libshiboken/signature.cpp +++ b/sources/shiboken2/libshiboken/signature.cpp @@ -512,7 +512,7 @@ PySide_BuildSignatureArgs(PyObject *module, PyObject *type, if (!init_done) { pyside_globals = init_phase_1(); - if (pyside_globals < 0) + if (pyside_globals == NULL) return -1; init_done = 1; } -- cgit v1.2.3