Don't bother checking for NULL-ness in dtor. Ifsh_destroy() already

does this, and it is okay to rely on this fact.
This commit is contained in:
Bård Skaflestad 2010-09-24 12:53:30 +00:00
parent f3105558f2
commit 8cf595df43

View File

@ -53,9 +53,7 @@ class Ifsh
/// Destructor.
~Ifsh()
{
if (data_) {
ifsh_destroy(data_);
}
ifsh_destroy(data_);
}
/// @brief