stack/samples: Removing /W4 warnings.
authorPawel Winogrodzki <pawelwi@microsoft.com>
Tue, 13 Jun 2017 00:12:12 +0000 (17:12 -0700)
committerZiran Sun <ziran.sun@samsung.com>
Fri, 16 Jun 2017 08:31:11 +0000 (08:31 +0000)
commit423098f35de8c0658ff2a9858dc9dd09a7812b4d
tree538c8d8ddcc560a5761a9e5ae0cfa4cf850ec317
parent958d00d981a5ba8d6a8ea441b523608e925494c9
stack/samples: Removing /W4 warnings.

Removing variable shadowing warnings: there were a few
variables using the same name in one scope and thus one
overwritten the other.

Bug: https://jira.iotivity.org/browse/IOT-1583

Change-Id: I9b20da2c4ebea8bdb4bbc3b64c7d308060bf258e
Signed-off-by: Pawel Winogrodzki <pawelwi@microsoft.com>
Reviewed-on: https://gerrit.iotivity.org/gerrit/20735
Reviewed-by: Dan Mihai <Daniel.Mihai@microsoft.com>
Tested-by: jenkins-iotivity <jenkins@iotivity.org>
Reviewed-by: Ziran Sun <ziran.sun@samsung.com>
resource/csdk/stack/samples/linux/SimpleClientServer/ocserver.cpp
resource/csdk/stack/samples/linux/SimpleClientServer/ocservercoll.cpp