Fixed defects

List of Defects

Error: CLANG_WARNING: [#def1]
libupnp-1.14.18-build/pupnp-release-1.14.18/upnp/src/api/upnpapi.c:3369:3: warning[deadcode.DeadStores]: Value stored to 'status' is never read
# 3367|   	int status = http_EndHttpRequest(handle, timeout);
# 3368|   	if (status == UPNP_E_SUCCESS) {
# 3369|-> 		status = http_GetHttpResponse(
# 3370|   			handle, NULL, NULL, NULL, httpStatus, timeout);
# 3371|   	}

Error: CLANG_WARNING: [#def2]
libupnp-1.14.18-build/pupnp-release-1.14.18/upnp/src/genlib/net/http/httpparser.c:289:6: warning[deadcode.DeadStores]: Value stored to 'c' is never read
#  287|   			} else if (c == '\\') {
#  288|   				if (cursor < null_terminator) {
#  289|-> 					c = *cursor++;
#  290|   					/* the char after '\\' could be ANY
#  291|   					 * octet */

Scan Properties

analyzer-version-clang18.1.7
analyzer-version-cppcheck2.14.2
analyzer-version-gcc14.1.1
analyzer-version-gcc-analyzer14.1.1
analyzer-version-shellcheck0.10.0
diffbase-analyzer-version-clang18.1.7
diffbase-analyzer-version-cppcheck2.14.2
diffbase-analyzer-version-gcc14.1.1
diffbase-analyzer-version-gcc-analyzer14.1.1
diffbase-analyzer-version-shellcheck0.10.0
diffbase-enabled-pluginsclang, cppcheck, gcc, shellcheck
diffbase-exit-code0
diffbase-hostip-172-16-1-147.us-west-2.compute.internal
diffbase-mock-configfedora-41-x86_64
diffbase-project-namelibupnp-1.14.19-1.fc41
diffbase-store-results-to/tmp/tmpy0vbg_iv/libupnp-1.14.19-1.fc41.tar.xz
diffbase-time-created2024-07-03 16:01:29
diffbase-time-finished2024-07-03 16:03:00
diffbase-toolcsmock
diffbase-tool-args'/usr/bin/csmock' '-r' 'fedora-41-x86_64' '-t' 'cppcheck,gcc,clang,shellcheck' '-o' '/tmp/tmpy0vbg_iv/libupnp-1.14.19-1.fc41.tar.xz' '--gcc-analyze' '/tmp/tmpy0vbg_iv/libupnp-1.14.19-1.fc41.src.rpm'
diffbase-tool-versioncsmock-3.5.3-1.el9
enabled-pluginsclang, cppcheck, gcc, shellcheck
exit-code0
hostip-172-16-1-147.us-west-2.compute.internal
mock-configfedora-41-x86_64
project-namelibupnp-1.14.18-3.fc40
store-results-to/tmp/tmp6rgyjlu_/libupnp-1.14.18-3.fc40.tar.xz
time-created2024-07-03 15:59:06
time-finished2024-07-03 16:01:02
titleFixed defects
toolcsmock
tool-args'/usr/bin/csmock' '-r' 'fedora-41-x86_64' '-t' 'cppcheck,gcc,clang,shellcheck' '-o' '/tmp/tmp6rgyjlu_/libupnp-1.14.18-3.fc40.tar.xz' '--gcc-analyze' '/tmp/tmp6rgyjlu_/libupnp-1.14.18-3.fc40.src.rpm'
tool-versioncsmock-3.5.3-1.el9