diff options
author | Nat Goodspeed <nat@lindenlab.com> | 2016-07-13 14:28:45 -0400 |
---|---|---|
committer | Nat Goodspeed <nat@lindenlab.com> | 2016-07-13 14:28:45 -0400 |
commit | 5b233bba3f885cd7f6202a70677d7ae2970bdfeb (patch) | |
tree | 305f57f9666548dd7db6887c28b23664a8579519 /indra | |
parent | 75149be061fab7c8d7ce0e24e0c9ad0e52d0dd5b (diff) |
MAINT-5011: Remove alarming ll_kdu_error() function
whose body reads:
// *FIX: This exception is bad, bad, bad. It gets thrown from a
// destructor which can lead to immediate program termination!
throw "ll_kdu_error() throwing an exception";
which would be bad indeed... if ll_kdu_error() were ever actually referenced
by anything!
Diffstat (limited to 'indra')
-rw-r--r-- | indra/llkdu/llimagej2ckdu.cpp | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/indra/llkdu/llimagej2ckdu.cpp b/indra/llkdu/llimagej2ckdu.cpp index 282c859e9e..94c7dbdd23 100644 --- a/indra/llkdu/llimagej2ckdu.cpp +++ b/indra/llkdu/llimagej2ckdu.cpp @@ -128,13 +128,6 @@ private: S32 mRowGap; }; -void ll_kdu_error( void ) -{ - // *FIX: This exception is bad, bad, bad. It gets thrown from a - // destructor which can lead to immediate program termination! - throw "ll_kdu_error() throwing an exception"; -} - // Stuff for new kdu error handling class LLKDUMessageWarning : public kdu_message { |