From 274b080e128914cb1c64f16ddc9282b459f1f94a Mon Sep 17 00:00:00 2001 From: Christopher Wellons Date: Tue, 17 Apr 2018 20:43:19 -0400 Subject: [PATCH] Fix indentation typo in cleanup_closed() Not sure how this mistake was made in the first place. Identified by a dead code warning from Visual Studio 6.0. --- src/enchive.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/enchive.c b/src/enchive.c index e11d8ea..c742b0b 100644 --- a/src/enchive.c +++ b/src/enchive.c @@ -62,9 +62,10 @@ cleanup_closed(FILE *file) { unsigned i; for (i = 0; i < sizeof(cleanup) / sizeof(*cleanup); i++) { - if (file == cleanup[i].file) + if (file == cleanup[i].file) { cleanup[i].file = 0; - return; + return; + } } abort(); }