change a variable from pointer to local 59/115759/2
authorsunghan <sh924.chang@samsung.com>
Tue, 21 Feb 2017 08:16:48 +0000 (17:16 +0900)
committerSunghan Chang <sh924.chang@samsung.com>
Wed, 22 Feb 2017 02:37:44 +0000 (18:37 -0800)
pthread_addr_t is a pointer type so that * is not needed.

Change-Id: I859a0d76eb3c6a476fddd97203709b089f5e4eb3

apps/examples/testcase/le_tc/kernel/tc_semaphore.c

index fac769e..75a00c6 100644 (file)
@@ -116,7 +116,7 @@ static void *consumer_func(void *arg)
 static void tc_semaphore_sem_init_post_wait(void)
 {
        int ret_val;
-       pthread_addr_t *pexit_value = NULL;
+       pthread_addr_t pexit_value = NULL;
        pthread_t pid;
        pthread_t cid;