examples/lwm2m_test: fix a compilation error on prv_status_to_string
authorJunyeon LEE <junyeon2.lee@samsung.com>
Mon, 12 Jun 2017 15:19:17 +0000 (00:19 +0900)
committerEunBong Song <eunb.song@samsung.com>
Tue, 11 Jul 2017 11:10:44 +0000 (20:10 +0900)
commit9f5aa10cbb639773830be5ff0b103475beb250dd
tree12dffb1a73ccb0bc0ec85a17d1c734741f1a7bf3
parentb77e58089bc905d9acad071cb5b3ef456ca7634b
examples/lwm2m_test: fix a compilation error on prv_status_to_string

This commit fixes a compilation error on lwm2m_test example.

  commandline.c: In function 'prv_status_to_string':
  commandline.c:404:37: error: expected expression before 'return'
     #define CODE_TO_STRING(X)   case X:(return #X)
                                     ^
  commandline.c:409:3: note: in expansion of macro 'CODE_TO_STRING'
     CODE_TO_STRING(COAP_NO_ERROR);

Change-Id: I1c7afb3d07ca1e09545f5eb92167641f7d6e839a
Signed-off-by: Junyeon LEE <junyeon2.lee@samsung.com>
apps/examples/lwm2m_test/commandline.c