Task #349 - dbus-python-1.3.2-7.fc41/scan-results.err

back to task #349
download
Error: CLANG_WARNING:
dbus-python-1.3.2-build/dbus-python-1.3.2/dbus_bindings/conn-methods.c:805:13: warning[deadcode.DeadStores]: Value stored to 'ok' is never read
#  803|               memory in libdbus, but tbh we should never get here anyway. */
#  804|               Py_BEGIN_ALLOW_THREADS
#  805|->             ok = dbus_connection_unregister_object_path(self->conn,
#  806|                                                           path_bytes);
#  807|               Py_END_ALLOW_THREADS

Error: COMPILER_WARNING (CWE-477):
dbus-python-1.3.2-build/dbus-python-1.3.2/dbus_bindings/conn.c: scope_hint: In function 'DBusPyConnection_ExistingFromDBusConnection'
dbus-python-1.3.2-build/dbus-python-1.3.2/dbus_bindings/conn.c:161:9: warning[-Wdeprecated-declarations]: 'PyWeakref_GetObject' is deprecated
/usr/include/python3.13/Python.h:109: included_from: Included from here.
dbus-python-1.3.2-build/dbus-python-1.3.2/dbus_bindings/dbus_bindings-internal.h:34: included_from: Included from here.
dbus-python-1.3.2-build/dbus-python-1.3.2/dbus_bindings/conn.c:29: included_from: Included from here.
/usr/include/python3.13/weakrefobject.h:30:44: note: declared here
#  159|       if (ref) {
#  160|           DBG("(DBusConnection *)%p has weak reference at %p", conn, ref);
#  161|->         self = PyWeakref_GetObject(ref);   /* still a borrowed ref */
#  162|           if (self && self != Py_None && DBusPyConnection_Check(self)) {
#  163|               DBG("(DBusConnection *)%p has weak reference at %p pointing to %p",

Error: COMPILER_WARNING (CWE-477):
dbus-python-1.3.2-build/dbus-python-1.3.2/dbus_bindings/conn.c: scope_hint: In function 'DBusPyConnection_NewConsumingDBusConnection'
dbus-python-1.3.2-build/dbus-python-1.3.2/dbus_bindings/conn.c:201:9: warning[-Wdeprecated-declarations]: 'PyWeakref_GetObject' is deprecated
/usr/include/python3.13/weakrefobject.h:30:44: note: declared here
#  199|       Py_END_ALLOW_THREADS
#  200|       if (ref) {
#  201|->         self = (Connection *)PyWeakref_GetObject(ref);
#  202|           ref = NULL;
#  203|           if (self && (PyObject *)self != Py_None) {

Error: CLANG_WARNING:
dbus-python-1.3.2-build/dbus-python-1.3.2/dbus_bindings/message-get-args.c:86:13: warning[deadcode.DeadStores]: Although the value stored to 'type' is used in the enclosing expression, the value is never actually read from 'type'
#   84|   {
#   85|       int ret, type;
#   86|->     while ((type = dbus_message_iter_get_arg_type(iter))
#   87|               != DBUS_TYPE_INVALID) {
#   88|           PyObject *item;

Error: COMPILER_WARNING (CWE-477):
dbus-python-1.3.2-build/dbus-python-1.3.2/dbus_bindings/server.c: scope_hint: In function 'DBusPyServer_ExistingFromDBusServer'
dbus-python-1.3.2-build/dbus-python-1.3.2/dbus_bindings/server.c:170:9: warning[-Wdeprecated-declarations]: 'PyWeakref_GetObject' is deprecated
/usr/include/python3.13/Python.h:109: included_from: Included from here.
dbus-python-1.3.2-build/dbus-python-1.3.2/dbus_bindings/dbus_bindings-internal.h:34: included_from: Included from here.
dbus-python-1.3.2-build/dbus-python-1.3.2/dbus_bindings/server.c:30: included_from: Included from here.
/usr/include/python3.13/weakrefobject.h:30:44: note: declared here
#  168|       if (ref) {
#  169|           DBG("(DBusServer *)%p has weak reference at %p", server, ref);
#  170|->         self = PyWeakref_GetObject(ref);   /* still a borrowed ref */
#  171|           if (self && self != Py_None && DBusPyServer_Check(self)) {
#  172|               DBG("(DBusServer *)%p has weak reference at %p pointing to %p",

Error: COMPILER_WARNING (CWE-477):
dbus-python-1.3.2-build/dbus-python-1.3.2/dbus_bindings/server.c: scope_hint: In function 'DBusPyServer_NewConsumingDBusServer'
dbus-python-1.3.2-build/dbus-python-1.3.2/dbus_bindings/server.c:265:9: warning[-Wdeprecated-declarations]: 'PyWeakref_GetObject' is deprecated
/usr/include/python3.13/weakrefobject.h:30:44: note: declared here
#  263|       Py_END_ALLOW_THREADS
#  264|       if (ref) {
#  265|->         self = (Server *)PyWeakref_GetObject(ref);
#  266|           ref = NULL;
#  267|           if (self && (PyObject *)self != Py_None) {

Error: CPPCHECK_WARNING:
dbus-python-1.3.2-build/dbus-python-1.3.2/subprojects/dbus-gmain/dbus-gmain.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING:
dbus-python-1.3.2-build/dbus-python-1.3.2/subprojects/dbus-gmain/tests/test-thread-client.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.