Skip to content

Commit

Permalink
[qmf] Initialize some ImapFetchSelectedMessagesStrategy variables
Browse files Browse the repository at this point in the history
It's generally a good idea to initialize instance variables. Regarding
this particular class, valgrind reports that uninitialized instance
variables are actually being used sometimes.
  • Loading branch information
monich committed Sep 11, 2014
1 parent abda1a9 commit cc5217c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion qmf/src/plugins/messageservices/imap/imapstrategy.h
Expand Up @@ -302,7 +302,7 @@ class ImapMessageListStrategy : public ImapStrategy
class ImapFetchSelectedMessagesStrategy : public ImapMessageListStrategy
{
public:
ImapFetchSelectedMessagesStrategy() {}
ImapFetchSelectedMessagesStrategy() : _listSize(0), _totalRetrievalSize(0) {}
virtual ~ImapFetchSelectedMessagesStrategy() {}

virtual void setOperation(ImapStrategyContextBase *context,
Expand Down

0 comments on commit cc5217c

Please sign in to comment.