From 2d26df4125bcbfe4e07fe10491abd814171a3ce2 Mon Sep 17 00:00:00 2001 From: Adlai Holler Date: Thu, 8 Nov 2018 10:05:31 -0800 Subject: [PATCH] Initialize mutex assertion variables --- Source/Details/ASThread.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Source/Details/ASThread.h b/Source/Details/ASThread.h index 80091abf3..d5896fd13 100644 --- a/Source/Details/ASThread.h +++ b/Source/Details/ASThread.h @@ -266,8 +266,8 @@ namespace ASDN { std::recursive_mutex _recursive; }; #if ASDISPLAYNODE_ASSERTIONS_ENABLED - std::thread::id _owner; - int _count; + std::thread::id _owner = std::thread::id(); + int _count = 0; #endif }; #pragma clang diagnostic pop // ignored "-Wunguarded-availability"