IOT-2539 clean unused-result warnings 23/22923/3
authorGeorge Nash <george.nash@intel.com>
Thu, 19 Oct 2017 20:35:05 +0000 (13:35 -0700)
committerRick Bell <richard.s.bell@intel.com>
Fri, 20 Oct 2017 23:19:36 +0000 (23:19 +0000)
commite9aea7067f97612075a25b62e21e55aff061a314
tree542ed6e8ca30e1f5e0eb0e341af592c0fef82556
parentf9f65c7fc63f90daf47b0c9ad36a30f3754c2b96
IOT-2539 clean unused-result warnings

the -Werror=unused-result is due to not checking the return
value when using scanf. This error is specific to certan
versions of the compiler and may not occure on all systems.

Bug: https://jira.iotivity.org/browse/IOT-2539
Change-Id: Ifcaa05f7f7df69da84bd3a514ad3f29a63955b02
Signed-off-by: George Nash <george.nash@intel.com>
resource/csdk/security/provisioning/sample/cloud/cloudWrapper.c
resource/provisioning/examples/cloudClient.cpp
resource/provisioning/examples/cloudWrapper.cpp