From 3fa4f73b6fbd56e05d119b24630e53d86524b8ab Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Liru=20F=C3=A6rs?= Date: Tue, 22 Oct 2019 01:55:06 -0400 Subject: [PATCH] Fix linux build, for the millionth time... is there a record? Thanks for the help, damian --- indra/llui/llcombobox.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/indra/llui/llcombobox.cpp b/indra/llui/llcombobox.cpp index 5a5eea43c..dd39a5ab0 100644 --- a/indra/llui/llcombobox.cpp +++ b/indra/llui/llcombobox.cpp @@ -205,7 +205,7 @@ LLView* LLComboBox::fromXML(LLXMLNodePtr node, LLView *parent, LLUICtrlFactory * const auto text = combo_box->acceptsTextInput(); std::string label; if (node->getAttributeString("label", label)) - text ? combo_box->setLabel(label) : combo_box->mList->selectItemByLabel(label, FALSE); + text ? combo_box->setLabel(label) : (void)combo_box->mList->selectItemByLabel(label, FALSE); else if (!text && combo_box->mLabel.empty()) combo_box->selectFirstItem(); }