From fe6f0b9919a7afc366063ce91103469ae422ba3c Mon Sep 17 00:00:00 2001 From: Thorbjørn Lindeijer Date: Sat, 20 Feb 2010 09:59:09 +0100 Subject: Don't check a pointer for 0 before deleting it This check is built in already. --- src/channel.cpp | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'src/channel.cpp') diff --git a/src/channel.cpp b/src/channel.cpp index fcc8c6f8..38329e0c 100644 --- a/src/channel.cpp +++ b/src/channel.cpp @@ -35,8 +35,5 @@ Channel::Channel(short id, Channel::~Channel() { - if (mTab) - { - delete mTab; - } + delete mTab; } -- cgit v1.2.3-70-g09d2