From: Jim Meyering Date: Tue, 16 Feb 1999 04:18:43 +0000 (+0000) Subject: (main): #ifdef-out unreachable code. X-Git-Tag: FILEUTILS-4_0e~244 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=e2bf10d90e4b3b2dfb5e7d3df66377a576584294;p=thirdparty%2Fcoreutils.git (main): #ifdef-out unreachable code. --- diff --git a/src/stty.c b/src/stty.c index e5e1d5ca00..0e4e38e25c 100644 --- a/src/stty.c +++ b/src/stty.c @@ -1059,15 +1059,19 @@ mutually exclusive")); if (speed_was_set || memcmp (&mode, &new_mode, sizeof (mode)) != 0) #endif { - size_t i; error (1, 0, _("%s: unable to perform all requested operations"), device_name); - printf (_("new_mode: mode\n")); - for (i = 0; i < sizeof (new_mode); i++) - printf ("0x%02x: 0x%02x\n", - *(((unsigned char *) &new_mode) + i), - *(((unsigned char *) &mode) + i)); +#ifdef TESTING + { + size_t i; + printf (_("new_mode: mode\n")); + for (i = 0; i < sizeof (new_mode); i++) + printf ("0x%02x: 0x%02x\n", + *(((unsigned char *) &new_mode) + i), + *(((unsigned char *) &mode) + i)); + } +#endif } } }