Removed redundant error message.

This commit is contained in:
Håvard Pettersson 2014-11-22 22:31:44 +01:00
parent df758124dd
commit 73980b1042

View File

@ -139,10 +139,7 @@ twc_sqlite_add_profile(struct t_twc_profile *profile)
int rc = sqlite3_step(statement); int rc = sqlite3_step(statement);
TWC_SQLITE_DEBUG_RC(rc, SQLITE_DONE) TWC_SQLITE_DEBUG_RC(rc, SQLITE_DONE)
if (rc != SQLITE_DONE) if (rc != SQLITE_DONE)
{
weechat_printf(NULL, "sqlite error in %s: %d", __func__, rc);
return -1; return -1;
}
else else
return 0; return 0;
} }