cryptui: initialize a string (clang)
André Hentschel
nerv at dawncrow.de
Thu Jul 7 16:40:56 CDT 2011
setting none to null ;)
---
dlls/cryptui/main.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/dlls/cryptui/main.c b/dlls/cryptui/main.c
index 23f247e..a325994 100644
--- a/dlls/cryptui/main.c
+++ b/dlls/cryptui/main.c
@@ -104,7 +104,7 @@ static void add_cert_to_view(HWND lv, PCCERT_CONTEXT cert, DWORD *allocatedLen,
WCHAR dateFmt[80]; /* sufficient for LOCALE_SSHORTDATE */
WCHAR date[80];
SYSTEMTIME sysTime;
- LPWSTR none;
+ LPWSTR none = NULL;
item.mask = LVIF_IMAGE | LVIF_PARAM | LVIF_TEXT;
item.iItem = SendMessageW(lv, LVM_GETITEMCOUNT, 0, 0);
--
Best Regards, André Hentschel
More information about the wine-patches
mailing list