mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-05-07 16:45:11 -04:00
Fix CppCheck in rsgxsrecognitems.h
/libretroshare/src/rsitems/rsgxsrecognitems.h:56: warning: Cppcheck(uninitMemberVar): Member variable 'RsGxsRecognReqItem::issued_at' is not initialized in the constructor. /libretroshare/src/rsitems/rsgxsrecognitems.h:56: warning: Cppcheck(uninitMemberVar): Member variable 'RsGxsRecognReqItem::period' is not initialized in the constructor. /libretroshare/src/rsitems/rsgxsrecognitems.h:56: warning: Cppcheck(uninitMemberVar): Member variable 'RsGxsRecognReqItem::tag_class' is not initialized in the constructor. /libretroshare/src/rsitems/rsgxsrecognitems.h:56: warning: Cppcheck(uninitMemberVar): Member variable 'RsGxsRecognReqItem::tag_type' is not initialized in the constructor. /libretroshare/src/rsitems/rsgxsrecognitems.h:82: warning: Cppcheck(uninitMemberVar): Member variable 'RsGxsRecognTagItem::valid_from' is not initialized in the constructor. /libretroshare/src/rsitems/rsgxsrecognitems.h:82: warning: Cppcheck(uninitMemberVar): Member variable 'RsGxsRecognTagItem::valid_to' is not initialized in the constructor. /libretroshare/src/rsitems/rsgxsrecognitems.h:82: warning: Cppcheck(uninitMemberVar): Member variable 'RsGxsRecognTagItem::tag_class' is not initialized in the constructor. /libretroshare/src/rsitems/rsgxsrecognitems.h:82: warning: Cppcheck(uninitMemberVar): Member variable 'RsGxsRecognTagItem::tag_type' is not initialized in the constructor.
This commit is contained in:
parent
732898a76f
commit
478071304b
1 changed files with 6 additions and 2 deletions
|
@ -53,7 +53,9 @@
|
|||
class RsGxsRecognReqItem: public RsItem
|
||||
{
|
||||
public:
|
||||
RsGxsRecognReqItem() :RsItem(RS_PKT_VERSION_SERVICE, RS_SERVICE_TYPE_GXS_RECOGN, RS_PKT_SUBTYPE_RECOGN_REQ)
|
||||
RsGxsRecognReqItem()
|
||||
:RsItem(RS_PKT_VERSION_SERVICE, RS_SERVICE_TYPE_GXS_RECOGN, RS_PKT_SUBTYPE_RECOGN_REQ)
|
||||
, issued_at(0), period(0), tag_class(0), tag_type(0)
|
||||
{
|
||||
setPriorityLevel(QOS_PRIORITY_DEFAULT);
|
||||
return;
|
||||
|
@ -79,7 +81,9 @@ public:
|
|||
class RsGxsRecognTagItem: public RsItem
|
||||
{
|
||||
public:
|
||||
RsGxsRecognTagItem() :RsItem(RS_PKT_VERSION_SERVICE, RS_SERVICE_TYPE_GXS_RECOGN, RS_PKT_SUBTYPE_RECOGN_TAG)
|
||||
RsGxsRecognTagItem()
|
||||
:RsItem(RS_PKT_VERSION_SERVICE, RS_SERVICE_TYPE_GXS_RECOGN, RS_PKT_SUBTYPE_RECOGN_TAG)
|
||||
, valid_from(0), valid_to(0), tag_class(0), tag_type(0)
|
||||
{
|
||||
setPriorityLevel(QOS_PRIORITY_DEFAULT);
|
||||
return;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue