[PATCH xserver] fix unreachable code

Tiago Vignatti tiago.vignatti at nokia.com
Fri Apr 16 07:24:37 PDT 2010


Hi,

I was playing a bit with coverity tool and from our > 400 outstanding bugs
found I solved all unreachable code \o/

I haven't test _any_, but all seems pretty trivial to check. Please, take a 
look on them.


Thanks,


Tiago Vignatti (4):
  xfree86: fix not reached code in parser
  xfree86: fix not reached code in tty code
  Xi: fix not reached code in XSendExtensionEvent
  xfree86: fix not reached code in fi1236 driver from i2c

 Xi/sendexev.c                            |    3 ++-
 hw/xfree86/i2c/fi1236.c                  |    4 ----
 hw/xfree86/os-support/shared/posix_tty.c |   13 -------------
 hw/xfree86/parser/read.c                 |    4 ++--
 4 files changed, 4 insertions(+), 20 deletions(-)



More information about the xorg-devel mailing list