projects
/
platform
/
upstream
/
iotivity.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Fix bugs for result of static analizer.
[platform/upstream/iotivity.git]
/
service
/
notification
/
src
/
consumer
/
NSThread.c
diff --git
a/service/notification/src/consumer/NSThread.c
b/service/notification/src/consumer/NSThread.c
index
5610636
..
36655d8
100644
(file)
--- a/
service/notification/src/consumer/NSThread.c
+++ b/
service/notification/src/consumer/NSThread.c
@@
-53,7
+53,7
@@
NSConsumerThread * NSThreadInit(NSThreadFunc func, void * data)
handle->isStarted = true;
- pthread_attr_t attrDetached;
+ pthread_attr_t attrDetached
= {}
;
pthread_attr_init(& attrDetached);
pthread_attr_setdetachstate(& attrDetached, PTHREAD_CREATE_DETACHED);