From ae58db91a2f5399b479d9b2789603a68689dc99e Mon Sep 17 00:00:00 2001 From: Germano Cavalcantemano-wii Date: Sun, 25 Apr 2021 10:41:28 -0300 Subject: Fix T87799: Crash when switching to Info Editor Use of uninitialized variable. Problem introduced in 87a70801c6a9fe5077ca882dec820a8f24deb07e. --- source/blender/editors/space_info/space_info.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source/blender/editors/space_info/space_info.c') diff --git a/source/blender/editors/space_info/space_info.c b/source/blender/editors/space_info/space_info.c index 7800a90b115..e56bb44b1e6 100644 --- a/source/blender/editors/space_info/space_info.c +++ b/source/blender/editors/space_info/space_info.c @@ -255,7 +255,7 @@ static void info_header_region_message_subscribe(const wmRegionMessageSubscribeP struct wmMsgBus *mbus = params->message_bus; ARegion *region = params->region; - wmMsgSubscribeValue msg_sub_value_region_tag_redraw; + wmMsgSubscribeValue msg_sub_value_region_tag_redraw = {NULL}; msg_sub_value_region_tag_redraw.owner = region; msg_sub_value_region_tag_redraw.user_data = region; msg_sub_value_region_tag_redraw.notify = ED_region_do_msg_notify_tag_redraw; -- cgit v1.2.3