From 6d44499f99c62026cc5be465921fab2cb816628c Mon Sep 17 00:00:00 2001 From: cTn Date: Sun, 21 Sep 2014 20:40:33 +0200 Subject: [PATCH] handle impossible default state since that's what we do now --- js/msp.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/js/msp.js b/js/msp.js index baace5e63e..9b44073ba7 100644 --- a/js/msp.js +++ b/js/msp.js @@ -146,6 +146,9 @@ var MSP = { this.message_length_received = 0; this.state = 0; break; + + default: + console.log('Unknown state detected: ' + this.state); } } },