maint: avoid a -Wunsed-but-set warning on some systems

* src/stty.c (main): Mark speed_was_set as possibly unused,
as is the case when CIBAUD is undefined (on ppc64 GNU/Linux
for example).
Reported-by: Stefano Lattarini
This commit is contained in:
Pádraig Brady committed 2012-07-02 12:34:16 +02:00
1 parent fdfac0d159
commit f0cb202d55
1 file changed
+1 -1
+1 -1
View File
@@ -737,7 +737,7 @@ main (int argc, char **argv)
int argi = 0;
int opti = 1;
bool require_set_attr;
bool speed_was_set;
bool speed_was_set ATTRIBUTE_UNUSED;
bool verbose_output;
bool recoverable_output;
int k;