summaryrefslogtreecommitdiff
path: root/indra
diff options
context:
space:
mode:
authorTofu Linden <tofu.linden@lindenlab.com>2010-01-27 14:08:40 -0800
committerTofu Linden <tofu.linden@lindenlab.com>2010-01-27 14:08:40 -0800
commit78f725cb97cd05e5c716b0014b3cb4d30066d1ca (patch)
tree4516bbba09213a11be03383da7adec8e05f3ac81 /indra
parente70d7fca4b55d15547082a67101d5f8935d3a40a (diff)
CID-161
Checker: OVERRUN_STATIC Function: LLViewerLogin::setGridChoice(EGridInfo) File: /indra/newview/llviewernetwork.cpp not a bug. clarified for coverity.
Diffstat (limited to 'indra')
-rw-r--r--indra/newview/llviewernetwork.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/indra/newview/llviewernetwork.cpp b/indra/newview/llviewernetwork.cpp
index d7b55d7e97..987d23630a 100644
--- a/indra/newview/llviewernetwork.cpp
+++ b/indra/newview/llviewernetwork.cpp
@@ -169,6 +169,7 @@ void LLViewerLogin::setGridChoice(EGridInfo grid)
if(grid < 0 || grid >= GRID_INFO_COUNT)
{
llerrs << "Invalid grid index specified." << llendl;
+ return;
}
if(mGridChoice != grid || gSavedSettings.getS32("ServerChoice") != grid)