(libretro-db) Simplify 'chomp' function

This commit is contained in:
twinaphex 2015-09-21 15:26:42 +02:00
parent b23e0abac8
commit b5a462dc38

View File

@ -404,10 +404,6 @@ struct registered_func registered_functions[100] = {
static struct buffer chomp(struct buffer buff)
{
off_t i = 0;
(void)i;
for (; buff.offset < buff.len && isspace(buff.data[buff.offset]); buff.offset++);
return buff;
}