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:
parent
f3105558f2
commit
8cf595df43
@ -53,9 +53,7 @@ class Ifsh
|
||||
/// Destructor.
|
||||
~Ifsh()
|
||||
{
|
||||
if (data_) {
|
||||
ifsh_destroy(data_);
|
||||
}
|
||||
ifsh_destroy(data_);
|
||||
}
|
||||
|
||||
/// @brief
|
||||
|
Loading…
Reference in New Issue
Block a user