From a864736e583741c29c561459ae226a6bdf6226a8 Mon Sep 17 00:00:00 2001 From: Christian Tismer Date: Tue, 15 Nov 2022 15:14:10 +0100 Subject: shiboken6: Fix an unused warning on sbknumpy.cpp Change-Id: I01feeacdc193d737fe5ca2e2e840b9c166800287 Pick-to: 6.4 Reviewed-by: Friedemann Kleint --- sources/shiboken6/libshiboken/sbknumpy.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/sources/shiboken6/libshiboken/sbknumpy.cpp b/sources/shiboken6/libshiboken/sbknumpy.cpp index c71ee8ee4..060a2b6f4 100644 --- a/sources/shiboken6/libshiboken/sbknumpy.cpp +++ b/sources/shiboken6/libshiboken/sbknumpy.cpp @@ -7,6 +7,7 @@ # include #endif +#include "helper.h" #include "sbknumpycheck.h" #include "sbkcpptonumpy.h" #include "sbknumpyview.h" @@ -21,6 +22,7 @@ bool check(PyObject *pyIn) #ifdef HAVE_NUMPY return PyArray_Check(pyIn); #else + SBK_UNUSED(pyIn); return false; #endif } -- cgit v1.2.3