From d8e65519a221b7cfa49fec3bcb745aa9fb6b9d70 Mon Sep 17 00:00:00 2001 From: Ruben Kerkhof Date: Sun, 24 Jul 2016 17:11:46 +0200 Subject: [PATCH] fscache plugin: unsigned value can't be negative --- src/fscache.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/fscache.c b/src/fscache.c index 8fbd2713..68f5c79c 100644 --- a/src/fscache.c +++ b/src/fscache.c @@ -175,7 +175,7 @@ static void fscache_read_stats_file (FILE *fh) section_len--; section[section_len] = 0; } - if (section_len <= 0) + if (section_len == 0) continue; fields_num = strsplit (lineptr, fields, STATIC_ARRAY_SIZE (fields)); -- 2.30.2