summaryrefslogtreecommitdiff
path: root/indra/llcommon
diff options
context:
space:
mode:
authorcallum_linden <none@none>2014-10-22 10:12:36 -0700
committercallum_linden <none@none>2014-10-22 10:12:36 -0700
commit428adcb35c2d68700adfebfd14ab1dbae3af654e (patch)
treeb2237ac292960eb3983edce21ed039d6814b3fef /indra/llcommon
parent745151936e44347b98d48932174168634b72256b (diff)
Update to build on Xcode 6.0 (fix unit tests): remove unused functions that trigger clang warnings
Diffstat (limited to 'indra/llcommon')
-rwxr-xr-xindra/llcommon/tests/llerror_test.cpp13
1 files changed, 0 insertions, 13 deletions
diff --git a/indra/llcommon/tests/llerror_test.cpp b/indra/llcommon/tests/llerror_test.cpp
index a5aaff10c5..3cefe83440 100755
--- a/indra/llcommon/tests/llerror_test.cpp
+++ b/indra/llcommon/tests/llerror_test.cpp
@@ -38,14 +38,6 @@
namespace
{
- void test_that_error_h_includes_enough_things_to_compile_a_message()
- {
- LL_INFOS() << "!" << LL_ENDL;
- }
-}
-
-namespace
-{
static bool fatalWasCalled;
void fatalCall(const std::string&) { fatalWasCalled = true; }
}
@@ -381,8 +373,6 @@ namespace
};
std::string logFromNamespace(bool id) { return Foo::logFromNamespace(id); }
- std::string logFromClassWithNoLogTypeMember(bool id) { ClassWithNoLogType c; return c.logFromMember(id); }
- std::string logFromClassWithNoLogTypeStatic(bool id) { return ClassWithNoLogType::logFromStatic(id); }
std::string logFromClassWithLogTypeMember(bool id) { ClassWithLogType c; return c.logFromMember(id); }
std::string logFromClassWithLogTypeStatic(bool id) { return ClassWithLogType::logFromStatic(id); }
@@ -435,9 +425,6 @@ namespace tut
testLogName(mRecorder, logFromStatic);
testLogName(mRecorder, logFromAnon);
testLogName(mRecorder, logFromNamespace);
- //testLogName(mRecorder, logFromClassWithNoLogTypeMember, "ClassWithNoLogType");
- //testLogName(mRecorder, logFromClassWithNoLogTypeStatic, "ClassWithNoLogType");
- // XXX: figure out what the exepcted response is for these
testLogName(mRecorder, logFromClassWithLogTypeMember, "ClassWithLogType");
testLogName(mRecorder, logFromClassWithLogTypeStatic, "ClassWithLogType");
}