- **status**: accepted --> review
---
** [tickets:#1883] imm: Fix cppcheck warnings**
**Status:** review
**Milestone:** 5.1.FC
**Created:** Mon Jun 20, 2016 06:17 AM UTC by Hung Nguyen
**Last Updated:** Mon Jun 20, 2016 06:17 AM UTC
**Owner:** Hung Nguyen
File|Line|Id|Severity|Message
---|---|---|---|---
ImmModel.cc|13024|incorrectStringBooleanError|warning|"Conversion of string
literal ""resource type is not present in the requested parameters"" to bool
always evaluates to true."
ImmModel.cc|13024|incorrectStringBooleanError|warning|"Conversion of string
literal ""Operation name is not present in the requested parameters"" to bool
always evaluates to true."
ImmModel.cc|13024|incorrectStringBooleanError|warning|"Conversion of string
literal ""Verbose display of requested resourceName is unsupported"" to bool
always evaluates to true."
ImmAttrValue.cc|180|invalidPointerCast|warning|Casting between integer* and
float* which have an incompatible binary data representation.
ImmAttrValue.cc|183|invalidPointerCast|warning|Casting between integer* and
double* which have an incompatible binary data representation.
imm_import.cc|766|invalidPrintfArgType_uint|warning|%u in format string (no. 1)
requires an unsigned integer given in the argument list.
imm_import.cc|776|invalidPrintfArgType_uint|warning|%u in format string (no. 1)
requires an unsigned integer given in the argument list.
imm_import.cc|809|invalidPrintfArgType_uint|warning|%u in format string (no. 1)
requires an unsigned integer given in the argument list.
imm_import.cc|945|invalidPrintfArgType_uint|warning|%u in format string (no. 1)
requires an unsigned integer given in the argument list.
imm_pbe_load.cc|399|invalidPrintfArgType_uint|warning|%u in format string (no.
1) requires an unsigned integer given in the argument list.
imm_pbe_load.cc|718|invalidPrintfArgType_uint|warning|%u in format string (no.
1) requires an unsigned integer given in the argument list.
immnd_proc.c|1508|invalidPrintfArgType_uint|warning|%u in format string (no. 1)
requires an unsigned integer given in the argument list.
immpbe_daemon.cc|1447|invalidPrintfArgType_uint|warning|%u in format string
(no. 3) requires an unsigned integer given in the argument list.
imma_om_api.c|3362|nullPointer|warning|Possible null pointer dereference:
ccb_node - otherwise it is redundant to check it against null.
imma_om_api.c|3370|nullPointer|warning|Possible null pointer dereference:
ccb_node - otherwise it is redundant to check it against null.
immpbe.cc|168|redundantAssignInSwitch|warning|Variable 'pbe2' is reassigned a
value before the old one has been used. 'break;' missing?
immpbe.cc|173|redundantAssignInSwitch|warning|Variable 'pbe2' is reassigned a
value before the old one has been used. 'break;' missing?
imma_oi_api.c|3383|uselessAssignmentPtrArg|warning|Assignment of function
parameter has no effect outside the function.
imma_om_api.c|440|uselessAssignmentPtrArg|warning|Assignment of function
parameter has no effect outside the function.
imma_om_api.c|9298|uselessAssignmentPtrArg|warning|Assignment of function
parameter has no effect outside the function.
immutil.c|1640|uselessAssignmentPtrArg|warning|Assignment of function parameter
has no effect outside the function.
---
Sent from sourceforge.net because [email protected] is
subscribed to https://sourceforge.net/p/opensaf/tickets/
To unsubscribe from further messages, a project admin can change settings at
https://sourceforge.net/p/opensaf/admin/tickets/options. Or, if this is a
mailing list, you can unsubscribe from the mailing list.
------------------------------------------------------------------------------
Attend Shape: An AT&T Tech Expo July 15-16. Meet us at AT&T Park in San
Francisco, CA to explore cutting-edge tech and listen to tech luminaries
present their vision of the future. This family event has something for
everyone, including kids. Get more information and register today.
http://sdm.link/attshape
_______________________________________________
Opensaf-tickets mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/opensaf-tickets