mirror of
https://github.com/CTCaer/RetroArch.git
synced 2024-12-22 02:38:11 +00:00
libretrodb_find_entry - small cleanup
This commit is contained in:
parent
da54b5dedf
commit
d8243945f2
@ -314,12 +314,7 @@ int libretrodb_find_entry(libretrodb_t *db, const char *index_name,
|
||||
if (rv == 0)
|
||||
lseek(db->fd, offset, SEEK_SET);
|
||||
|
||||
rv = rmsgpack_dom_read(db->fd, out);
|
||||
|
||||
if (rv < 0)
|
||||
return rv;
|
||||
|
||||
return rv;
|
||||
return rmsgpack_dom_read(db->fd, out);
|
||||
}
|
||||
|
||||
/**
|
||||
|
Loading…
Reference in New Issue
Block a user