MQTTPacket library (clone of https://os.mbed.com/teams/mqtt/code/MQTTPacket/)

Dependents:   MQTT_ON_AWS MQTT

Revision:
9:3893bc7343f4
Parent:
4:c502573c6016
Child:
14:c2052aee81de
diff -r 1b8fb13fc6ef -r 3893bc7343f4 MQTTConnectClient.c
--- a/MQTTConnectClient.c	Mon Apr 28 16:07:08 2014 +0000
+++ b/MQTTConnectClient.c	Fri May 09 23:00:25 2014 +0000
@@ -148,6 +148,7 @@
 		goto exit;
 
 	compression = readChar(&curdata);
+	compression = compression;	// hush compiler warnings
 	*connack_rc = readChar(&curdata);
 
 	rc = 1;