mirror of
https://github.com/libretro/RetroArch
synced 2025-03-29 22:20:21 +00:00
Drop errno dependency in database_cue_get_token - was some legacy
code that is probably not needed
This commit is contained in:
parent
93babdd6f7
commit
39241699a0
@ -15,7 +15,6 @@
|
||||
* If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
#include <errno.h>
|
||||
#include <ctype.h>
|
||||
#include <string.h>
|
||||
|
||||
@ -143,18 +142,6 @@ static int64_t task_database_cue_get_token(intfstream_t *fd, char *token, uint64
|
||||
if (rv == 0)
|
||||
return 0;
|
||||
|
||||
if (rv < 1)
|
||||
{
|
||||
switch (errno)
|
||||
{
|
||||
case EINTR:
|
||||
case EAGAIN:
|
||||
continue;
|
||||
default:
|
||||
return -errno;
|
||||
}
|
||||
}
|
||||
|
||||
switch (*c)
|
||||
{
|
||||
case ' ':
|
||||
|
Loading…
x
Reference in New Issue
Block a user