[Warnings] Fix the "no biggie" warnings

Thanks to friti for providing the pastebin~
This commit is contained in:
Inusaito Sayori
2014-08-05 00:31:52 -04:00
parent 409128b07f
commit e57a7b6f3b
3 changed files with 5 additions and 5 deletions

View File

@@ -304,7 +304,7 @@ private:
ReturnType (LLMaterial::* const MaterialGetFunc)() const >
static void getTEMaterialValue(DataType& data_to_return, bool& identical,DataType default_value)
{
DataType data_value;
DataType data_value();
struct GetTEMaterialVal : public LLSelectedTEGetFunctor<DataType>
{
GetTEMaterialVal(DataType default_value) : _default(default_value) {}
@@ -337,7 +337,7 @@ private:
ReturnType (LLTextureEntry::* const TEGetFunc)() const >
static void getTEValue(DataType& data_to_return, bool& identical, DataType default_value)
{
DataType data_value;
DataType data_value();
struct GetTEVal : public LLSelectedTEGetFunctor<DataType>
{
GetTEVal(DataType default_value) : _default(default_value) {}