From e0b6c8f77743d1fa489bc574cbfe1ef4f3415342 Mon Sep 17 00:00:00 2001 From: Sergey Sharybin Date: Mon, 28 Dec 2020 09:57:59 +0100 Subject: Fix possible fall-through in outliner region listener Reported as a strict compiler warning, and the need of fall-through is not needed from just reading the code. If it is something what must happen, the reasoning is to be explained in the comment, and ATTR_FALLTHROUGH is to be used. --- source/blender/editors/space_outliner/space_outliner.c | 1 + 1 file changed, 1 insertion(+) (limited to 'source/blender/editors/space_outliner/space_outliner.c') diff --git a/source/blender/editors/space_outliner/space_outliner.c b/source/blender/editors/space_outliner/space_outliner.c index 06946e4c90b..57a063a01ca 100644 --- a/source/blender/editors/space_outliner/space_outliner.c +++ b/source/blender/editors/space_outliner/space_outliner.c @@ -118,6 +118,7 @@ static void outliner_main_region_listener(wmWindow *UNUSED(win), ED_region_tag_redraw(region); break; } + break; case NC_SCENE: switch (wmn->data) { case ND_OB_ACTIVE: -- cgit v1.2.3