Ken Thomases : winemac: Remove a redundant memset of a struct.
Alexandre Julliard
julliard at winehq.org
Wed Aug 21 14:09:05 CDT 2013
Module: wine
Branch: master
Commit: d6624ee9f64229b8daa72d8df3d0ae0aca8ce45d
URL: http://source.winehq.org/git/wine.git/?a=commit;h=d6624ee9f64229b8daa72d8df3d0ae0aca8ce45d
Author: Ken Thomases <ken at codeweavers.com>
Date: Tue Aug 20 17:00:43 2013 -0500
winemac: Remove a redundant memset of a struct.
---
dlls/winemac.drv/window.c | 1 -
1 files changed, 0 insertions(+), 1 deletions(-)
diff --git a/dlls/winemac.drv/window.c b/dlls/winemac.drv/window.c
index 9d83180..36c8570 100644
--- a/dlls/winemac.drv/window.c
+++ b/dlls/winemac.drv/window.c
@@ -495,7 +495,6 @@ static void create_cocoa_window(struct macdrv_win_data *data)
data->whole_rect = data->window_rect;
macdrv_window_to_mac_rect(data, style, &data->whole_rect);
- memset(&wf, 0, sizeof(wf));
get_cocoa_window_features(data, style, ex_style, &wf);
frame = cgrect_from_rect(data->whole_rect);
More information about the wine-cvs
mailing list