mirror of
https://github.com/nextcloud/desktop.git
synced 2025-10-26 11:17:43 +00:00
Add missing return value check.
This commit is contained in:
parent
8503dcbb1d
commit
dc5b9853a7
@ -228,6 +228,9 @@ int csync_journal_drop_tables(CSYNC *ctx) {
|
||||
result = csync_journal_query(ctx,
|
||||
"DROP TABLE IF EXISTS metadata;"
|
||||
);
|
||||
if (result == NULL) {
|
||||
return -1;
|
||||
}
|
||||
c_strlist_destroy(result);
|
||||
|
||||
return 0;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user