From 48e36e43ddfa613afdca988cb60979a1726f4a0c Mon Sep 17 00:00:00 2001 From: Michael Stefaniuc Date: Tue, 18 May 2010 01:32:11 +0200 Subject: [PATCH] user32: Remove redundant not NULL check of variable item (coccicheck). --- dlls/user32/listbox.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dlls/user32/listbox.c b/dlls/user32/listbox.c index 059be0416a0..d7f86a6d955 100644 --- a/dlls/user32/listbox.c +++ b/dlls/user32/listbox.c @@ -562,7 +562,7 @@ static void LISTBOX_PaintItem( LB_DESCR *descr, HDC hdc, const RECT *rect, dis.itemData = item->data; dis.rcItem = *rect; TRACE("[%p]: drawitem %d (%s) action=%02x state=%02x rect=%s\n", - descr->self, index, item ? debugstr_w(item->str) : "", action, + descr->self, index, debugstr_w(item->str), action, dis.itemState, wine_dbgstr_rect(rect) ); SendMessageW(descr->owner, WM_DRAWITEM, dis.CtlID, (LPARAM)&dis); }