mirror of
https://git.savannah.gnu.org/git/coreutils.git
synced 2026-11-19 03:33:43 +03:00
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:
1 parent
fdfac0d159
commit
f0cb202d55
1 file changed
+1
-1
+1
-1
@@ -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;
|
||||
|
||||
Reference in new issue
Block a user