machinarium: do not memset stack on fiber allocation

This commit is contained in:
Dmitry Simonenko 2017-03-01 15:08:41 +03:00
parent 2e9593d8a5
commit a0b757542d
2 changed files with 1 additions and 2 deletions

View File

@ -21,7 +21,7 @@ include_directories("${PROJECT_BINARY_DIR}/src")
add_custom_target(build_libs)
set(mm_libraries "")
# machinarium
# libuv
include(BuildLIBUV)
build_libuv()
set(mm_libraries ${mm_libraries} ${LIBUV_LIBRARIES})

View File

@ -27,7 +27,6 @@ mm_fiber_alloc(int size_stack)
if (fiber == NULL)
return NULL;
mm_fiber_init(fiber);
memset(mm_fiber_stackof(fiber), 0, size_stack);
return fiber;
}