diff vidix/sis_vid.c @ 36634:945eab072c9d

vidix: move query_format struct initialization to common code.
author reimar
date Sat, 25 Jan 2014 16:55:01 +0000
parents 72e4e8f983f9
children 598ef7d90b78
line wrap: on
line diff
--- a/vidix/sis_vid.c	Sat Jan 25 16:54:59 2014 +0000
+++ b/vidix/sis_vid.c	Sat Jan 25 16:55:01 2014 +0000
@@ -430,8 +430,7 @@
 	to->depth = VID_DEPTH_8BPP | VID_DEPTH_16BPP | VID_DEPTH_32BPP;
 	to->flags = VID_CAP_EXPAND | VID_CAP_SHRINK | VID_CAP_COLORKEY;
 	return 0;
-    } else
-	to->depth = to->flags = 0;
+    }
     return ENOSYS;
 }