mirror of
https://github.com/owntone/owntone-server.git
synced 2025-11-10 14:09:51 -05:00
Forgot return value
This commit is contained in:
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);
|
||||||
|
|||||||
Reference in New Issue
Block a user