9773 loader.efi: parity and stop bits switches are missing default case

Review Request #1187 - Created Aug. 27, 2018 and submitted

Information
Toomas Soome
illumos-gate
9773
1a5b723...
Reviewers
general
../comconsole.c: In function 'comc_asprint_mode':
../comconsole.c:330:2: warning: enumeration value 'DefaultParity' not handled in switch [-Wswitch]
  switch (sp->parity) {
  ^~~~~~
../comconsole.c:330:2: warning: enumeration value 'MarkParity' not handled in switch [-Wswitch]
../comconsole.c:330:2: warning: enumeration value 'SpaceParity' not handled in switch [-Wswitch]
../comconsole.c:338:2: warning: enumeration value 'DefaultStopBits' not handled in switch [-Wswitch]
  switch (sp->stopbits) {
  ^~~~~~
../comconsole.c:338:2: warning: enumeration value 'OneFiveStopBits' not handled in switch [-Wswitch]

  
Yuri Pankov
Yuri Pankov
Toomas Soome
Review request changed

Status: Closed (submitted)

Loading...