diff options
| -rw-r--r-- | CMakeLists.txt | 2 | ||||
| -rw-r--r-- | src/Platform/Posix/Thread.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index ba98e42..bc58de1 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -180,7 +180,7 @@ elseif(UNIX) message(STATUS "Platform: Unix (Linux/BSD/MacOS X)") # Add platform dependent files - list(APPEND BH_SOURCE BH_SOURCE_POSIX) + list(APPEND BH_SOURCE ${BH_SOURCE_POSIX}) # Add platform dependent multithreading support if(ENABLE_MT) diff --git a/src/Platform/Posix/Thread.c b/src/Platform/Posix/Thread.c index 62635f0..21a0b14 100644 --- a/src/Platform/Posix/Thread.c +++ b/src/Platform/Posix/Thread.c @@ -14,7 +14,7 @@ struct BH_ThreadContext static void *BH_ThreadRun(void *context) { BH_ThreadCallback callback; - void *data, *result; + void *data; callback = ((struct BH_ThreadContext *)context)->callback; data = ((struct BH_ThreadContext *)context)->data; |
