diff options
author | Friedemann Kleint <[email protected]> | 2021-03-12 09:17:09 +0100 |
---|---|---|
committer | Friedemann Kleint <[email protected]> | 2021-03-12 12:59:33 +0100 |
commit | 33fcaccaf3ab6da32527e8dbac606812515d6bb6 (patch) | |
tree | f547aff119caddb7821abe97e41af5f00c838ce3 /sources/shiboken6/libshiboken/helper.cpp | |
parent | 091f488479227c58fd3944d68c48fc7efe223f9e (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.cpp | 2 |
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 |