From a74ed7833cbcb4fa368d430feb05ff41728caa8a Mon Sep 17 00:00:00 2001 From: Bertrand Bellenot <Bertrand.Bellenot@cern.ch> Date: Fri, 11 Dec 2009 10:46:28 +0000 Subject: [PATCH] Add comments to specify that missing breaks are intentional git-svn-id: http://root.cern.ch/svn/root/trunk@31844 27541ba8-7e3a-0410-8455-c3a389f83636 --- gui/gui/src/TRootBrowserLite.cxx | 2 ++ 1 file changed, 2 insertions(+) diff --git a/gui/gui/src/TRootBrowserLite.cxx b/gui/gui/src/TRootBrowserLite.cxx index b081398efd2..4e2cb9102d3 100644 --- a/gui/gui/src/TRootBrowserLite.cxx +++ b/gui/gui/src/TRootBrowserLite.cxx @@ -2823,6 +2823,7 @@ void TRootBrowserLite::SetViewMode(Int_t new_mode, Bool_t force) return; else new_mode = kViewLargeIcons; + // intentionally no break case kViewLargeIcons: bnum = 2; lv = kLVLargeIcons; @@ -2875,6 +2876,7 @@ void TRootBrowserLite::SetSortMode(Int_t new_mode) switch (new_mode) { default: new_mode = kViewArrangeByName; + // intentionally no break case kViewArrangeByName: smode = kSortByName; break; -- GitLab