From 09ccf7908944396b675322dbea6e3b11e383adf0 Mon Sep 17 00:00:00 2001 From: George Rhoten Date: Tue, 28 Jun 2005 23:44:31 +0000 Subject: [PATCH] ICU-4605 Add better documentation when doing code coverage. X-SVN-Rev: 18082 --- icu4c/source/io/uprntf_p.c | 12 ++++-------- 1 file changed, 4 insertions(+), 8 deletions(-) diff --git a/icu4c/source/io/uprntf_p.c b/icu4c/source/io/uprntf_p.c index c856e0bab96..4facd6cc13a 100644 --- a/icu4c/source/io/uprntf_p.c +++ b/icu4c/source/io/uprntf_p.c @@ -1311,14 +1311,12 @@ u_printf_parse(const u_printf_stream_handler *streamHandler, /* read the width from the argument list */ info->fWidth = va_arg(ap, int32_t); } - else { - /* handle positional parameter */ - } + /* else handle positional parameter */ /* if it's negative, take the absolute value and set left alignment */ if(info->fWidth < 0) { - info->fWidth *= -1; - info->fLeft = TRUE; + info->fWidth *= -1; /* Make positive */ + info->fLeft = TRUE; } } @@ -1328,9 +1326,7 @@ u_printf_parse(const u_printf_stream_handler *streamHandler, /* read the precision from the argument list */ info->fPrecision = va_arg(ap, int32_t); } - else { - /* handle positional parameter */ - } + /* else handle positional parameter */ /* if it's negative, set it to zero */ if(info->fPrecision < 0)