winemac: Remove a redundant memset of a struct.
This commit is contained in:
parent
20c3c80257
commit
d6624ee9f6
|
@ -495,7 +495,6 @@ static void create_cocoa_window(struct macdrv_win_data *data)
|
||||||
data->whole_rect = data->window_rect;
|
data->whole_rect = data->window_rect;
|
||||||
macdrv_window_to_mac_rect(data, style, &data->whole_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);
|
get_cocoa_window_features(data, style, ex_style, &wf);
|
||||||
|
|
||||||
frame = cgrect_from_rect(data->whole_rect);
|
frame = cgrect_from_rect(data->whole_rect);
|
||||||
|
|
Loading…
Reference in New Issue