Drop errno dependency in database_cue_get_token - was some legacy

code that is probably not needed
This commit is contained in:
LibretroAdmin 2022-08-25 04:51:00 +02:00
parent 93babdd6f7
commit 39241699a0

View File

@ -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 ' ':