mirror of
https://github.com/RetroShare/RetroShare.git
synced 2024-10-01 02:35:48 -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
@ -53,7 +53,9 @@
|
|||||||
class RsGxsRecognReqItem: public RsItem
|
class RsGxsRecognReqItem: public RsItem
|
||||||
{
|
{
|
||||||
public:
|
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);
|
setPriorityLevel(QOS_PRIORITY_DEFAULT);
|
||||||
return;
|
return;
|
||||||
@ -79,7 +81,9 @@ public:
|
|||||||
class RsGxsRecognTagItem: public RsItem
|
class RsGxsRecognTagItem: public RsItem
|
||||||
{
|
{
|
||||||
public:
|
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);
|
setPriorityLevel(QOS_PRIORITY_DEFAULT);
|
||||||
return;
|
return;
|
||||||
|
Loading…
Reference in New Issue
Block a user