From c9d56d6fb1c8eca558db937b99b89535893950a0 Mon Sep 17 00:00:00 2001 From: Stanislaw Halik Date: Sun, 2 Apr 2023 21:39:18 +0200 Subject: fix some harmless msvc stuff --- editor/inspect.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'editor') diff --git a/editor/inspect.cpp b/editor/inspect.cpp index 1631f11c..131f15e1 100644 --- a/editor/inspect.cpp +++ b/editor/inspect.cpp @@ -67,8 +67,8 @@ bool do_inspect_field(void* datum, const erased_accessor& accessor, field_repr r fm_assert(accessor.check_field_type()); fm_assert(!list.isEmpty() == (repr == field_repr::cbx)); - bool should_disable; char buf[128]; + bool should_disable = false; switch (accessor.is_enabled(datum)) { -- cgit v1.2.3