More errors can be seen with changeset 8141:
amfd/util.cc:2020 Possible null pointer dereference: avnd
amfnd/cbq.cc:444 Possible null pointer dereference: temp_csi
amfnd/cbq.cc:1135 Possible null pointer dereference: temp_csi
amfnd/comp.cc:1974 Possible null pointer dereference: hc_rec
amfnd/comp.cc:1975 Possible null pointer dereference: hc_rec
amfnd/comp.cc:2548 Possible null pointer dereference: temp_csi
amfnd/di.cc:1319 Possible null pointer dereference: pending_rec
amfwdog/amf_wdog.c:185 Uninitialized variable: fds
amfwdog/amf_wdog.c:186 Uninitialized variable: fds
---
** [tickets:#2077] amfd: fix cppcheck errors**
**Status:** review
**Milestone:** 5.2.FC
**Created:** Tue Sep 27, 2016 04:54 PM UTC by Hans Nordebäck
**Last Updated:** Tue Sep 27, 2016 04:54 PM UTC
**Owner:** Hans Nordebäck
cppcheck reports the following in changeset 7926:
osaf/libs/common/amf/include/amf_db_template.h
36 noExplicitConstructor style Class 'SaNameTWrapper' has a
constructor with 1 argument that is not explicit.
149 postfixOperator performance Prefer prefix ++/-- operators
for non-primitive types.
---
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.
------------------------------------------------------------------------------
_______________________________________________
Opensaf-tickets mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/opensaf-tickets