View | Details | Raw Unified | Return to bug 214589
Collapse All | Expand All

(-)x11-drivers/xf86-video-openchrome/files/patch-src__via_driver.c (+11 lines)
Line 0 Link Here
1
--- src/via_driver.c.orig	2015-11-19 15:49:03.658837000 +0100
2
+++ src/via_driver.c	2015-11-19 15:51:11.689034000 +0100
3
@@ -806,7 +806,7 @@ via_xf86crtc_resize(ScrnInfoPtr scrn, in
4
 {
5
     xf86CrtcConfigPtr xf86_config = XF86_CRTC_CONFIG_PTR(scrn);
6
     struct buffer_object *old_front = NULL, *new_front = NULL;
7
-    int old_width, old_height, old_dwidth, format;
8
+    int old_width = 0, old_height = 0, old_dwidth = 0, format;
9
     int cpp = (scrn->bitsPerPixel + 7) >> 3, i;
10
     ScreenPtr screen = scrn->pScreen;
11
     VIAPtr pVia = VIAPTR(scrn);

Return to bug 214589