From 6d4b0a2c9f422d4c3fd51e7c68644c16ddd805d4 Mon Sep 17 00:00:00 2001 From: D G Turner Date: Tue, 27 Nov 2012 03:55:06 +0000 Subject: PS2: Fix three compiler warnings and minor code formatting fixes. --- backends/platform/ps2/ps2pad.cpp | 3 +++ 1 file changed, 3 insertions(+) (limited to 'backends/platform/ps2/ps2pad.cpp') diff --git a/backends/platform/ps2/ps2pad.cpp b/backends/platform/ps2/ps2pad.cpp index b6afc217e6..607b614691 100644 --- a/backends/platform/ps2/ps2pad.cpp +++ b/backends/platform/ps2/ps2pad.cpp @@ -51,6 +51,9 @@ void Ps2Pad::initPad(void) { } else { if (checkPadReady(_port, _slot)) { switch (_padStatus) { + case STAT_NONE: + printf("Pad Status is None. Shouldn't happen\n"); + break; case STAT_OPEN: _padStatus = STAT_DETECT; break; -- cgit v1.2.3