diff --git a/ddprof-lib/src/main/cpp/context.cpp b/ddprof-lib/src/main/cpp/context.cpp index 8d4c97958..6e7516e2d 100644 --- a/ddprof-lib/src/main/cpp/context.cpp +++ b/ddprof-lib/src/main/cpp/context.cpp @@ -87,7 +87,7 @@ ContextPage Contexts::getPage(int tid) { return {.capacity = DD_CONTEXT_PAGE_SIZE * sizeof(Context), .storage = _pages[pageIndex]}; } else { - return {}; + return {.capacity = 0, .storage = NULL}; } }