From d075f3b8a0ef567e6486a7df4cfe9bd47edadf9f Mon Sep 17 00:00:00 2001 From: "phajdan.jr@chromium.org" Date: Tue, 27 Jan 2009 18:36:47 +0000 Subject: Add NOTREACHED() in switch default part which should never be reached. Review URL: http://codereview.chromium.org/18850 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@8730 0039d316-1c4b-4281-b951-d872f2087c98 --- chrome/views/label.cc | 1 + 1 file changed, 1 insertion(+) (limited to 'chrome') diff --git a/chrome/views/label.cc b/chrome/views/label.cc index ad9c54c..bd9ddf61 100644 --- a/chrome/views/label.cc +++ b/chrome/views/label.cc @@ -347,6 +347,7 @@ gfx::Rect Label::GetTextBounds() { text_x = width() - insets.right() - text_size.width(); break; default: + NOTREACHED(); text_x = 0; break; } -- cgit v1.1