remove unused return value

This commit is contained in:
anon 2023-08-03 12:41:21 +02:00
parent 40f014c432
commit 4ab5e9b614

View File

@ -80,14 +80,12 @@ remind(char * who)
return r;
}
DECL char *
set_repo(char* who, char* link)
DECL void
set_repo(const char * const who, const char * const link)
{
char * r;
DBERR(sqlite3_bind_text(set_repo_stmt, 1, link, -1, SQLITE_STATIC));
DBERR(sqlite3_bind_text(set_repo_stmt, 2, who, -1, SQLITE_STATIC));
DBERR(sqlite3_step(set_repo_stmt));
return r;
}
DECL int