unusedStructMember - struct member 'DataToEncrypt::ENCRYPTED_DATA_BUF_SIZE' is never used
It is used as a size for the unsigned char array two lines lower.
namespace unusedStructMemberFalsePostive { struct DataToEncrypt { static const int ENCRYPTED_DATA_BUF_SIZE = 128; unsigned char EncryptedDataBuf[ENCRYPTED_DATA_BUF_SIZE]; }; }
Thanks for the report, ticket is here: https://trac.cppcheck.net/ticket/10485
Log in to post a comment.
unusedStructMember - struct member 'DataToEncrypt::ENCRYPTED_DATA_BUF_SIZE' is never used
It is used as a size for the unsigned char array two lines lower.
Thanks for the report, ticket is here: https://trac.cppcheck.net/ticket/10485