[PATCH][2/3] pwc-uncompress cleanup - add missing default switchcase.

From: Jesper Juhl
Date: Mon Jun 20 2005 - 16:20:27 EST

This patch adds a missing default: case to the switch statement in
This change fixes the following compiler warning:
drivers/usb/media/pwc/pwc-uncompress.c: In function `pwc_decompress':
drivers/usb/media/pwc/pwc-uncompress.c:140: warning: unreachable code at beginning of switch statement
and has the added bennefit of making the switch statement function the way
it's supposed to.

This patch is incremental on top of the previous [PATCH][1/3]

Signed-off-by: Jesper Juhl <juhl-lkml@xxxxxx>

drivers/usb/media/pwc/pwc-uncompress.c | 1 +
1 files changed, 1 insertion(+)

--- linux-2.6.12/drivers/usb/media/pwc/pwc-uncompress.c.with_patch_1 2005-06-20 22:54:15.000000000 +0200
+++ linux-2.6.12/drivers/usb/media/pwc/pwc-uncompress.c 2005-06-20 22:54:42.000000000 +0200
@@ -137,6 +137,7 @@ int pwc_decompress(struct pwc_device *pd
case 646:
/* TODO & FIXME */
+ default:
/* No such device or address: missing decompressor */
return -ENXIO;

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/