2002-11-04 Joel Sherrill <joel@OARcorp.com>

* console/console.c: Removed warnings.
This commit is contained in:
Joel Sherrill
2002-11-04 14:27:03 +00:00
parent 0b6d74d098
commit 1298624dc8
2 changed files with 5 additions and 0 deletions

View File

@@ -1,3 +1,7 @@
2002-11-04 Joel Sherrill <joel@OARcorp.com>
* console/console.c: Removed warnings.
2002-11-01 Joel Sherrill <joel@OARcorp.com> 2002-11-01 Joel Sherrill <joel@OARcorp.com>
* network/network.c, startup/bspclean.c: Removed warnings. * network/network.c, startup/bspclean.c: Removed warnings.

View File

@@ -880,6 +880,7 @@ int cd2401_setAttributes(
} }
/* Number of bits per char */ /* Number of bits per char */
csize = 0x07; /* to avoid a warning */
switch ( t->c_cflag & CSIZE ) { switch ( t->c_cflag & CSIZE ) {
case CS5: csize = 0x04; break; case CS5: csize = 0x04; break;
case CS6: csize = 0x05; break; case CS6: csize = 0x05; break;