wininet: Remove unused code, sizeof(void*)%4 is always false (PVS-Studio)
Michael Stefaniuc
mstefani at redhat.de
Thu Mar 5 03:48:43 CST 2015
---
dlls/wininet/urlcache.c | 2 --
1 file changed, 2 deletions(-)
diff --git a/dlls/wininet/urlcache.c b/dlls/wininet/urlcache.c
index af830c5..4cc0a01 100644
--- a/dlls/wininet/urlcache.c
+++ b/dlls/wininet/urlcache.c
@@ -1296,8 +1296,6 @@ static DWORD urlcache_copy_entry(cache_container *container, const urlcache_head
dos_date_time_to_file_time(url_entry->sync_date, url_entry->sync_time, &entry_info->LastSyncTime);
}
- if(size%4 && size<*info_size)
- ZeroMemory((LPBYTE)entry_info+size, 4-size%4);
size = DWORD_ALIGN(size);
if(unicode)
url_len = urlcache_decode_url((const char*)url_entry+url_entry->url_off, NULL, 0);
--
1.9.3
More information about the wine-patches
mailing list