(libretro-db) Simplify 'chomp' function
This commit is contained in:
parent
b23e0abac8
commit
b5a462dc38
|
@ -404,10 +404,6 @@ struct registered_func registered_functions[100] = {
|
||||||
|
|
||||||
static struct buffer chomp(struct buffer buff)
|
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++);
|
for (; buff.offset < buff.len && isspace(buff.data[buff.offset]); buff.offset++);
|
||||||
return buff;
|
return buff;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue