This is an automatically generated e-mail. To reply, visit: http://reviewboard-openlmi.rhcloud.com/r/1920/ |
Autoscan finished with errors: Error: PW.DECLARED_BUT_NOT_REFERENCED: openlmi-providers-0.4.1_404_gf2b5c98/src/service-dbus/LMI_HostedServiceProvider.c:58: declared_but_not_referenced: variable "status" was declared but never referenced openlmi-providers-0.4.1_404_gf2b5c98/src/service-dbus/LMI_HostedServiceProvider.c:58: caretline: ^ Error: COMPILER_WARNING: openlmi-providers-0.4.1_404_gf2b5c98/src/service-dbus/LMI_HostedServiceProvider.c: scope_hint: In function 'LMI_HostedServiceEnumInstances' openlmi-providers-0.4.1_404_gf2b5c98/src/service-dbus/LMI_HostedServiceProvider.c:58:16: warning: unused variable 'status' [-Wunused-variable] # CMPIStatus status; # ^ Error: PW.VAR_WITH_UNINITIALIZED_FIELD: openlmi-providers-0.4.1_404_gf2b5c98/src/service-dbus/LMI_HostedServiceProvider.c:69: var_with_uninitialized_field: variable "w" has an uninitialized const field openlmi-providers-0.4.1_404_gf2b5c98/src/service-dbus/LMI_HostedServiceProvider.c:69: caretline: ^ Error: PW.VAR_WITH_UNINITIALIZED_FIELD: openlmi-providers-0.4.1_404_gf2b5c98/src/service-dbus/LMI_HostedServiceProvider.c:74: var_with_uninitialized_field: variable "ref" has an uninitialized const field openlmi-providers-0.4.1_404_gf2b5c98/src/service-dbus/LMI_HostedServiceProvider.c:74: caretline: ^ Error: RESOURCE_LEAK (CWE-772): openlmi-providers-0.4.1_404_gf2b5c98/src/service-dbus/LMI_HostedServiceProvider.c:63: alloc_fn: Storage is returned from allocation function "service_find_all(char *, int)". openlmi-providers-0.4.1_404_gf2b5c98/src/service-dbus/util/serviceutil.c:111:5: alloc_fn: Storage is returned from allocation function "malloc(size_t)". openlmi-providers-0.4.1_404_gf2b5c98/src/service-dbus/util/serviceutil.c:111:5: var_assign: Assigning: "slist" = "malloc(16UL)". openlmi-providers-0.4.1_404_gf2b5c98/src/service-dbus/util/serviceutil.c:158:5: return_alloc: Returning allocated memory "slist". openlmi-providers-0.4.1_404_gf2b5c98/src/service-dbus/LMI_HostedServiceProvider.c:63: var_assign: Assigning: "slist" = storage returned from "service_find_all(output, 1024)". openlmi-providers-0.4.1_404_gf2b5c98/src/service-dbus/LMI_HostedServiceProvider.c:83: leaked_storage: Variable "slist" going out of scope leaks the storage it points to. Error: PW.VAR_WITH_UNINITIALIZED_FIELD: openlmi-providers-0.4.1_404_gf2b5c98/x86_64-redhat-linux-gnu/src/service-dbus/CIM_ComputerSystem.h:3114: var_with_uninitialized_field: variable "self" has an uninitialized const field openlmi-providers-0.4.1_404_gf2b5c98/x86_64-redhat-linux-gnu/src/service-dbus/CIM_ComputerSystem.h:3114: primary_file: During compilation of file '/builddir/build/BUILD/openlmi-providers-0.4.1_404_gf2b5c98/src/service-dbus/LMI_HostedServiceProvider.c' openlmi-providers-0.4.1_404_gf2b5c98/x86_64-redhat-linux-gnu/src/service-dbus/CIM_ComputerSystem.h:3114: caretline: ^ Error: PW.VAR_WITH_UNINITIALIZED_FIELD: openlmi-providers-0.4.1_404_gf2b5c98/x86_64-redhat-linux-gnu/src/service-dbus/LMI_HostedService.h:380: var_with_uninitialized_field: variable "self" has an uninitialized const field openlmi-providers-0.4.1_404_gf2b5c98/x86_64-redhat-linux-gnu/src/service-dbus/LMI_HostedService.h:380: primary_file: During compilation of file '/builddir/build/BUILD/openlmi-providers-0.4.1_404_gf2b5c98/src/service-dbus/LMI_HostedServiceProvider.c' openlmi-providers-0.4.1_404_gf2b5c98/x86_64-redhat-linux-gnu/src/service-dbus/LMI_HostedService.h:380: caretline: ^ Scanned reviews: 1920
- scanbot
On July 22nd, 2014, 1:55 p.m. UTC, Vitezslav Crhonek wrote:
Review request for OpenLMI Developers.
By Vitezslav Crhonek.
Updated July 22, 2014, 1:55 p.m.
Repository:
openlmi-providers
Description
Diffs
|