mirror of
https://github.com/owntone/owntone-server.git
synced 2024-12-30 09:03:23 -05:00
Forgot return value
This commit is contained in:
parent
55d7224053
commit
fe79922c6e
2
src/db.c
2
src/db.c
@ -1535,7 +1535,7 @@ db_files_get_count_bypathpattern(char *path)
|
|||||||
{
|
{
|
||||||
DPRINTF(E_LOG, L_DB, "Out of memory making count query string.\n");
|
DPRINTF(E_LOG, L_DB, "Out of memory making count query string.\n");
|
||||||
|
|
||||||
return;
|
return -1;
|
||||||
}
|
}
|
||||||
|
|
||||||
count = db_get_count(query);
|
count = db_get_count(query);
|
||||||
|
Loading…
Reference in New Issue
Block a user