From b5a462dc38d25122796a953ccd62c009ab0f35d3 Mon Sep 17 00:00:00 2001 From: twinaphex Date: Mon, 21 Sep 2015 15:26:42 +0200 Subject: [PATCH] (libretro-db) Simplify 'chomp' function --- libretro-db/query.c | 4 ---- 1 file changed, 4 deletions(-) diff --git a/libretro-db/query.c b/libretro-db/query.c index 5b3c8e80b9..8c90643cbf 100644 --- a/libretro-db/query.c +++ b/libretro-db/query.c @@ -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; }