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!
master
Nat Goodspeed 2016-07-13 14:28:45 -04:00
parent 75149be061
commit 5b233bba3f
1 changed files with 0 additions and 7 deletions

View File

@ -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
{