Fix DEBUG codepath
This commit is contained in:
parent
40c974a19c
commit
19e4b8c0ca
|
@ -254,13 +254,15 @@ error:
|
|||
|
||||
static int task_database_cue_get_serial(const char *name, char* serial)
|
||||
{
|
||||
int rv;
|
||||
char track_path[PATH_MAX_LENGTH];
|
||||
uint64_t offset = 0;
|
||||
uint64_t size = 0;
|
||||
|
||||
track_path[0] = '\0';
|
||||
|
||||
if ((cue_find_track(name, true, &offset, &size, track_path, sizeof(track_path))) < 0)
|
||||
if ((rv = cue_find_track(name, true, &offset, &size, track_path,
|
||||
sizeof(track_path))) < 0)
|
||||
{
|
||||
#ifdef DEBUG
|
||||
RARCH_LOG("%s: %s\n",
|
||||
|
|
Loading…
Reference in New Issue