From 6e45576dd630f34f6a11820fc3bffe2534038f5a Mon Sep 17 00:00:00 2001 From: Jim Meyering Date: Sun, 24 Mar 1996 17:21:40 +0000 Subject: (main): Reformat if-block a little. Declare index I to be of type size_t to avoid warning from gcc -Wall. --- src/stty.c | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'src/stty.c') diff --git a/src/stty.c b/src/stty.c index 1baecfc17..9af791e61 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