Removed unused variables
authorSudarshan Prasad <sudarshan.prasad@intel.com>
Fri, 13 Feb 2015 18:28:00 +0000 (10:28 -0800)
committerSashi Penta <sashi.kumar.penta@intel.com>
Sat, 14 Feb 2015 06:46:48 +0000 (06:46 +0000)
This will prevent couple of warnings.

Change-Id: Iaae6d5a36c4ee91dee07346572ec7bde0961158c
Signed-off-by:Sudarshan Prasad <sudarshan.prasad@intel.com>
Reviewed-on: https://gerrit.iotivity.org/gerrit/343
Tested-by: jenkins-iotivity <jenkins-iotivity@opendaylight.org>
Reviewed-by: Erich Keane <erich.keane@intel.com>
Reviewed-by: Sashi Penta <sashi.kumar.penta@intel.com>
resource/csdk/stack/samples/linux/SimpleClientServer/ocserver.cpp
resource/csdk/stack/samples/linux/SimpleClientServer/ocserverbasicops.cpp

index 9c4f60a..be440e8 100644 (file)
@@ -79,8 +79,6 @@ const char *version = "myVersion";
 
 OCDeviceInfo deviceInfo;
 
-static uint16_t OC_WELL_KNOWN_PORT = 5683;
-
 //This function takes the request as an input and returns the response
 //in JSON format.
 char* constructJsonResponse (OCEntityHandlerRequest *ehRequest)
index 2de45bf..3eb0943 100644 (file)
@@ -44,8 +44,6 @@ static LEDResource gLedInstance[SAMPLE_MAX_NUM_POST_INSTANCE];
 
 char *gResourceUri= (char *)"/a/led";
 
-static uint16_t OC_WELL_KNOWN_PORT = 5683;
-
 //This function takes the request as an input and returns the response
 //in JSON format.
 char* constructJsonResponse (OCEntityHandlerRequest *ehRequest)