diff options
author | callum_linden <none@none> | 2014-10-22 10:12:36 -0700 |
---|---|---|
committer | callum_linden <none@none> | 2014-10-22 10:12:36 -0700 |
commit | 428adcb35c2d68700adfebfd14ab1dbae3af654e (patch) | |
tree | b2237ac292960eb3983edce21ed039d6814b3fef | |
parent | 745151936e44347b98d48932174168634b72256b (diff) |
Update to build on Xcode 6.0 (fix unit tests): remove unused functions that trigger clang warnings
-rwxr-xr-x | indra/llcommon/tests/llerror_test.cpp | 13 |
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"); } |