From 0f7a17fdf0830960c468a44265c032a66ace8acb Mon Sep 17 00:00:00 2001 From: Axel Isouard Date: Fri, 30 Sep 2016 22:37:15 +0200 Subject: [PATCH] Remove state variable inside the sample --- Samples/PeerConnection/main.cpp | 6 ------ 1 file changed, 6 deletions(-) diff --git a/Samples/PeerConnection/main.cpp b/Samples/PeerConnection/main.cpp index 648c493..896c2d1 100644 --- a/Samples/PeerConnection/main.cpp +++ b/Samples/PeerConnection/main.cpp @@ -7,13 +7,7 @@ #include "SetRemoteSessionDescriptionObserver.h" #include "Console.h" -enum { - STATE_EXCHANGE = 0, - STATE_CHAT -}; - static IPeer *peer = NULL; -static int state = STATE_EXCHANGE; void HandleSDP(Json::Value object) { std::string type = object["type"].asString();