aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChristian Tismer <tismer@stackless.com>2017-09-24 11:36:49 +0200
committerChristian Tismer <tismer@stackless.com>2017-09-25 08:17:17 +0000
commita4251ee228e8b063467e859d502d9531e4cbb13f (patch)
tree4e491dd8e8d5b68a16570636726f0244a3d5104a
parente71c65a5879fa4a263bdab1a9754f38301ad656b (diff)
Signature: buglet makes clang complain
Some small oversight is now an error after the last clang update. Change-Id: I61b118d772cacdf7950e3b43e76cc4351c3062f3 Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
-rw-r--r--sources/shiboken2/libshiboken/signature.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/sources/shiboken2/libshiboken/signature.cpp b/sources/shiboken2/libshiboken/signature.cpp
index cca0847b..883ef739 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;
}