easy-setup: Fix Initialization warning (var is char not string)
authorPhilippe Coval <philippe.coval@osg.samsung.com>
Wed, 29 Mar 2017 07:59:28 +0000 (09:59 +0200)
committerUze Choi <uzchoi@samsung.com>
Mon, 3 Apr 2017 02:37:36 +0000 (02:37 +0000)
Observed issue was:

  service/easy-setup/sampleapp/enrollee/linux/enrolleewifi.c:262:19: \
  warning: initialization makes integer from pointer without a cast [enabled by default]
  char option = "";

Change-Id: Ib86e46094dee109a82cd483669480dbe97e8c570
Signed-off-by: Philippe Coval <philippe.coval@osg.samsung.com>
Reviewed-on: https://gerrit.iotivity.org/gerrit/18329
Tested-by: jenkins-iotivity <jenkins@iotivity.org>
Reviewed-by: Alex Kelley <alexke@microsoft.com>
Reviewed-by: Heewon Park <h_w.park@samsung.com>
Reviewed-by: Jihun Ha <jihun.ha@samsung.com>
Reviewed-by: Uze Choi <uzchoi@samsung.com>
service/easy-setup/sampleapp/enrollee/linux/enrolleewifi.c

index 3c35fee..8f207ff 100755 (executable)
@@ -259,7 +259,7 @@ int main()
     printf("EasySetup Enrollee SAMPLE\n");
     printf("#########################\n");
     PrintMenu();
-    char option = "";
+    char option = 0;
 
     while(true)
     {