[db] initialize id parameter with 0

This commit is contained in:
chme 2016-12-16 18:38:28 +01:00
parent 1ab9151489
commit 351725c8b2

View File

@ -2312,6 +2312,7 @@ db_file_stamp_bypath(char *path, time_t *stamp, int *id)
sqlite3_stmt *stmt;
int ret;
*id = 0;
*stamp = 0;
query = sqlite3_mprintf(Q_TMPL, path);