summaryrefslogtreecommitdiff
path: root/src/mongo/stdx
diff options
context:
space:
mode:
Diffstat (limited to 'src/mongo/stdx')
-rw-r--r--src/mongo/stdx/thread.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mongo/stdx/thread.h b/src/mongo/stdx/thread.h
index fda0e5531e1..e072de0cc72 100644
--- a/src/mongo/stdx/thread.h
+++ b/src/mongo/stdx/thread.h
@@ -75,7 +75,7 @@ public:
private:
void _install() const {
- stack_t ss;
+ stack_t ss = {};
ss.ss_sp = _stackStorage.get();
ss.ss_flags = 0;
ss.ss_size = kStackSize;
@@ -85,7 +85,7 @@ private:
}
void _uninstall() const {
- stack_t ss;
+ stack_t ss = {};
ss.ss_flags = SS_DISABLE;
if (sigaltstack(&ss, nullptr)) {
abort();