diff options
| -rw-r--r-- | indra/newview/lltoastalertpanel.cpp | 4 | ||||
| -rw-r--r-- | indra/newview/lltoastalertpanel.h | 4 | 
2 files changed, 4 insertions, 4 deletions
diff --git a/indra/newview/lltoastalertpanel.cpp b/indra/newview/lltoastalertpanel.cpp index af8cb8b5cb..4f46d1c0a2 100644 --- a/indra/newview/lltoastalertpanel.cpp +++ b/indra/newview/lltoastalertpanel.cpp @@ -125,10 +125,6 @@ LLToastAlertPanel::LLToastAlertPanel( LLNotificationPtr notification, bool modal  			{  				data.mWidth = (*it)["width"].asInteger();  			} -			else -			{ -				data.mWidth = 0; -			}  			mButtonData.push_back(data);  			option_index++; diff --git a/indra/newview/lltoastalertpanel.h b/indra/newview/lltoastalertpanel.h index 7ffe328439..bd34e40642 100644 --- a/indra/newview/lltoastalertpanel.h +++ b/indra/newview/lltoastalertpanel.h @@ -82,6 +82,10 @@ private:  	struct ButtonData  	{ +		ButtonData() +		: mWidth(0) +		{} +		  		LLButton* mButton;  		std::string mURL;  		U32 mURLExternal;  | 
