- **status**: review --> fixed
- **Comment**:

default(5.1)
changeset:   7768:b281d19d1b96 [staging:b281d1]
user:        Hung Nguyen <[email protected]>
date:        Tue Jun 21 18:20:44 2016 +0700
summary:     imm: Fix cppcheck incorrectStringBooleanError warnings [#1883]

changeset:   7769:3968b3247659 [staging:3968b3]
user:        Hung Nguyen <[email protected]>
date:        Tue Jun 21 18:22:18 2016 +0700
summary:     imm: Fix cppcheck invalidPrintfArgType_uint warnings [#1883]

changeset:   7770:7932297d5dda [staging:793229]
user:        Hung Nguyen <[email protected]>
date:        Tue Jun 21 18:23:11 2016 +0700
summary:     imm: Fix cppcheck nullPointer warnings [#1883]

changeset:   7771:507969ed9dc1 [staging:507969]
user:        Hung Nguyen <[email protected]>
date:        Tue Jun 21 18:24:26 2016 +0700
summary:     imm: Fix cppcheck redundantAssignInSwitch warnings [#1883]

changeset:   7772:ce489cd2921a [staging:ce489c]
user:        Hung Nguyen <[email protected]>
date:        Tue Jun 21 18:25:02 2016 +0700
summary:     imm: Fix cppcheck uselessAssignmentPtrArg warnings [#1883]




---

** [tickets:#1883] imm: Fix cppcheck warnings**

**Status:** fixed
**Milestone:** 5.1.FC
**Created:** Mon Jun 20, 2016 06:17 AM UTC by Hung Nguyen
**Last Updated:** Wed Jun 22, 2016 10:13 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

Reply via email to