From 0f63ad92ccef527cf920778d4aa90fc52bb48df8 Mon Sep 17 00:00:00 2001 From: Alexandre Julliard Date: Wed, 13 Jun 2007 11:19:36 +0200 Subject: [PATCH] comctl32: Remove useless pointer check. --- dlls/comctl32/tab.c | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/dlls/comctl32/tab.c b/dlls/comctl32/tab.c index 31b016349ae..830bc7e3b23 100644 --- a/dlls/comctl32/tab.c +++ b/dlls/comctl32/tab.c @@ -2681,12 +2681,9 @@ static inline LRESULT TAB_SetMinTabWidth (TAB_INFO *infoPtr, INT cx) TRACE("(%p,%d)\n", infoPtr, cx); - if (infoPtr) { - oldcx = infoPtr->tabMinWidth; - infoPtr->tabMinWidth = cx; - } + oldcx = infoPtr->tabMinWidth; + infoPtr->tabMinWidth = cx; TAB_SetItemBounds(infoPtr); - return oldcx; }