libretrodb_find_entry - small cleanup

This commit is contained in:
twinaphex 2015-09-17 09:50:34 +02:00
parent da54b5dedf
commit d8243945f2

View File

@ -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);
}
/**