aboutsummaryrefslogtreecommitdiffstats
path: root/sources/shiboken6/libshiboken/helper.cpp
diff options
context:
space:
mode:
authorFriedemann Kleint <[email protected]>2021-03-12 09:17:09 +0100
committerFriedemann Kleint <[email protected]>2021-03-12 12:59:33 +0100
commit33fcaccaf3ab6da32527e8dbac606812515d6bb6 (patch)
treef547aff119caddb7821abe97e41af5f00c838ce3 /sources/shiboken6/libshiboken/helper.cpp
parent091f488479227c58fd3944d68c48fc7efe223f9e (diff)
libshiboken: Fix some clang analzyer warnings
- Remove else after return - Remove C-style casts - Remove const_cast<char *> which are no longer needed in Python 3 Change-Id: I25b55b9a616b5cce5a16ff7a59671d56d3b37a74 Reviewed-by: Christian Tismer <[email protected]>
Diffstat (limited to 'sources/shiboken6/libshiboken/helper.cpp')
-rw-r--r--sources/shiboken6/libshiboken/helper.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/sources/shiboken6/libshiboken/helper.cpp b/sources/shiboken6/libshiboken/helper.cpp
index cad48951e..1e5252668 100644
--- a/sources/shiboken6/libshiboken/helper.cpp
+++ b/sources/shiboken6/libshiboken/helper.cpp
@@ -44,7 +44,7 @@
#include <iomanip>
#include <iostream>
-#include <stdarg.h>
+#include <cstdarg>
#ifdef _WIN32
# ifndef NOMINMAX