From 7d7a704638a1e957c845c04eeac82bdeda0c674c Mon Sep 17 00:00:00 2001 From: Vincent Fu Date: Tue, 31 Jan 2023 10:44:54 -0500 Subject: [PATCH] lib/pattern: fix formatting The fix I committed was not formatted nicely. Make the code look nicer. Signed-off-by: Vincent Fu --- lib/pattern.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/pattern.c b/lib/pattern.c index e31d473471..9fca643e32 100644 --- a/lib/pattern.c +++ b/lib/pattern.c @@ -386,9 +386,9 @@ static int parse_and_fill_pattern(const char *in, unsigned int in_len, assert(filled); assert(filled <= out_len); out_len -= filled; - if (out) - out += filled; total += filled; + if (out) + out += filled; } while (in_len);