diff options
author | Christian Tismer <tismer@stackless.com> | 2017-09-24 11:36:49 +0200 |
---|---|---|
committer | Christian Tismer <tismer@stackless.com> | 2017-09-25 08:17:17 +0000 |
commit | a4251ee228e8b063467e859d502d9531e4cbb13f (patch) | |
tree | 4e491dd8e8d5b68a16570636726f0244a3d5104a /sources/shiboken2/libshiboken | |
parent | e71c65a5879fa4a263bdab1a9754f38301ad656b (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>
Diffstat (limited to 'sources/shiboken2/libshiboken')
-rw-r--r-- | sources/shiboken2/libshiboken/signature.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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; } |