aboutsummaryrefslogtreecommitdiff
path: root/bin/synthpod_bin.h
diff options
context:
space:
mode:
authorHanspeter Portner <dev@open-music-kontrollers.ch>2015-09-17 11:15:11 +0200
committerHanspeter Portner <dev@open-music-kontrollers.ch>2015-09-17 11:15:11 +0200
commitf881476ab38711db93ae46dc62decbdf3b4f137d (patch)
tree76b5ce81c7977506252afd578067d6af5498f8ec /bin/synthpod_bin.h
parentd16eba41bc83dc9c96f0ba9bbf367dbcd3d0c483 (diff)
downloadsynthpod-f881476ab38711db93ae46dc62decbdf3b4f137d.tar.xz
fix bugs reported by clang static analyzer.
Diffstat (limited to 'bin/synthpod_bin.h')
-rw-r--r--bin/synthpod_bin.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/bin/synthpod_bin.h b/bin/synthpod_bin.h
index 8bf3bd4a..20952058 100644
--- a/bin/synthpod_bin.h
+++ b/bin/synthpod_bin.h
@@ -400,7 +400,9 @@ bin_run(bin_t *bin, char **argv, const synthpod_nsm_driver_t *nsm_driver)
// threads init
Eina_Bool status = eina_thread_create(&bin->worker_thread,
- EINA_THREAD_URGENT, -1, _worker_thread, bin); //TODO
+ EINA_THREAD_URGENT, -1, _worker_thread, bin);
+ if(!status)
+ fprintf(stderr, "creation of worker thread failed\n");
// main loop
elm_run();