From 0fec01385d3c09490457aa1069f2985d5ec793f9 Mon Sep 17 00:00:00 2001
From: Roxie Linden <roxie@lindenlab.com>
Date: Tue, 6 Apr 2010 22:02:49 -0700
Subject: DEV-48542 - CID-444/CID-445: missing break in switch,
 llpanellogin.cpp Added missing breaks. CR: Josh

---
 indra/newview/llpanellogin.cpp | 9 +++++++++
 1 file changed, 9 insertions(+)

(limited to 'indra/newview')

diff --git a/indra/newview/llpanellogin.cpp b/indra/newview/llpanellogin.cpp
index b620a005d2..548f97b9f1 100644
--- a/indra/newview/llpanellogin.cpp
+++ b/indra/newview/llpanellogin.cpp
@@ -785,11 +785,20 @@ void LLPanelLogin::getLocation(LLSLURL& slurl)
 	switch(combo->getCurrentIndex())
 	{
 		case 0:
+		  {
 			slurl = LLSLURL(LLSLURL::SIM_LOCATION_HOME);
+			break;
+		  }
 		case 1:
+		  {
 			slurl =  LLSLURL(LLSLURL::SIM_LOCATION_LAST);
+			break;
+		  }
 		default:
+		  {
 			slurl = LLSLURL(combo->getValue().asString());
+			break;
+		  }
 	}
 }
 
-- 
cgit v1.2.3