Skip to content

Commit

Permalink
#5 status variable is unused in Contacts.cpp
Browse files Browse the repository at this point in the history
  • Loading branch information
andreas-mausch committed Nov 1, 2017
1 parent b5d707e commit 0846ca9
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions source/WhatsApp/Contacts.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ void importContacts(Settings &settings, const std::string &wadbFilename)
{
SQLiteDatabase wadb(wadbFilename);

const char *query = "SELECT jid, display_name, status " \
const char *query = "SELECT jid, display_name " \
"FROM wa_contacts";

sqlite3_stmt *res;
Expand All @@ -23,7 +23,6 @@ void importContacts(Settings &settings, const std::string &wadbFilename)
{
std::string jid = wadb.readString(res, 0);
std::string displayName = wadb.readString(res, 1);
std::string status = wadb.readString(res, 2);

if (displayName.length() > 0)
{
Expand Down

0 comments on commit 0846ca9

Please sign in to comment.