From: Jim Meyering Date: Sun, 24 Mar 1996 17:21:40 +0000 (+0000) Subject: (main): Reformat if-block a little. X-Git-Tag: SH-UTILS-1_12e~27 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6e45576dd630f34f6a11820fc3bffe2534038f5a;p=thirdparty%2Fcoreutils.git (main): Reformat if-block a little. Declare index I to be of type size_t to avoid warning from gcc -Wall. --- diff --git a/src/stty.c b/src/stty.c index 1baecfc178..9af791e61b 100644 --- a/src/stty.c +++ b/src/stty.c @@ -920,14 +920,14 @@ main (int argc, char **argv) if (speed_was_set || memcmp (&mode, &new_mode, sizeof (mode)) != 0) #endif { - int i; - error (1, 0, + size_t i; + error (1, 0, _("standard input: unable to perform all requested operations")); - printf (_("new_mode: mode\n")); - for (i=0; i