summaryrefslogtreecommitdiff
path: root/indra/llkdu/llimagej2ckdu.cpp
diff options
context:
space:
mode:
authorNat Goodspeed <nat@lindenlab.com>2016-07-13 14:28:45 -0400
committerNat Goodspeed <nat@lindenlab.com>2016-07-13 14:28:45 -0400
commit5b233bba3f885cd7f6202a70677d7ae2970bdfeb (patch)
tree305f57f9666548dd7db6887c28b23664a8579519 /indra/llkdu/llimagej2ckdu.cpp
parent75149be061fab7c8d7ce0e24e0c9ad0e52d0dd5b (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/llkdu/llimagej2ckdu.cpp')
-rw-r--r--indra/llkdu/llimagej2ckdu.cpp7
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
{