From 89f6a6d22994e3d60e22c8fbe24e8d7419e616ac Mon Sep 17 00:00:00 2001 From: Tony Finch Date: Tue, 10 Sep 2002 20:33:39 +0000 Subject: [PATCH] Replace a goto with continue. --- usr.bin/uudecode/uudecode.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/usr.bin/uudecode/uudecode.c b/usr.bin/uudecode/uudecode.c index 855687ca1730..28bf7cee6bc5 100644 --- a/usr.bin/uudecode/uudecode.c +++ b/usr.bin/uudecode/uudecode.c @@ -253,7 +253,6 @@ decode2(int flag) strcpy(buffn, buf); /* store file name from header line */ /* for each input line */ -next: for (;;) { if (!fgets(p = buf, sizeof(buf), stdin)) { warnx("%s: short file", filename); @@ -263,7 +262,7 @@ decode2(int flag) if (strncmp(buf, "====", 4) == 0) return (0); base64_decode(buf); - goto next; + continue; } #define DEC(c) (((c) - ' ') & 077) /* single character decode */ #define IS_DEC(c) ( (((c) - ' ') >= 0) && (((c) - ' ') <= 077 + 1) )