mirror of
https://github.com/CTCaer/RetroArch.git
synced 2024-12-23 11:18:25 +00:00
(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)
|
||||
{
|
||||
off_t i = 0;
|
||||
|
||||
(void)i;
|
||||
|
||||
for (; buff.offset < buff.len && isspace(buff.data[buff.offset]); buff.offset++);
|
||||
return buff;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user