From fc40a731d23f893be2cb7699d7e078568d4c210c Mon Sep 17 00:00:00 2001 From: Roland McGrath Date: Tue, 20 Oct 1998 08:38:41 +0000 Subject: Add braces to silence gcc warnings. --- libshouldbeinlibc/idvec-rep.c | 18 ++++++++++-------- 1 file changed, 10 insertions(+), 8 deletions(-) (limited to 'libshouldbeinlibc/idvec-rep.c') diff --git a/libshouldbeinlibc/idvec-rep.c b/libshouldbeinlibc/idvec-rep.c index 2fa1be03..b20e58ca 100644 --- a/libshouldbeinlibc/idvec-rep.c +++ b/libshouldbeinlibc/idvec-rep.c @@ -1,6 +1,6 @@ /* idvec string representation - Copyright (C) 1996, 1997 Free Software Foundation, Inc. + Copyright (C) 1996, 1997, 1998 Free Software Foundation, Inc. Written by Miles Bader @@ -95,13 +95,15 @@ idvec_rep (const struct idvec *idvec, int show_values, int show_names, uid_t val = idvec->ids[i]; if (i > 0) - if (ensure_room (sep_len)) - { - strcpy (rep + rep_len, sep); - rep_len += sep_len; - } - else - break; + { + if (ensure_room (sep_len)) + { + strcpy (rep + rep_len, sep); + rep_len += sep_len; + } + else + break; + } if (show_names || !show_values) name = (*id_name_fn) (val); -- cgit v1.2.3