diff options
-rw-r--r-- | xserver/hw/xfree86/modes/xf86Crtc.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/xserver/hw/xfree86/modes/xf86Crtc.h b/xserver/hw/xfree86/modes/xf86Crtc.h index 7a562874c..1e87f0ea0 100644 --- a/xserver/hw/xfree86/modes/xf86Crtc.h +++ b/xserver/hw/xfree86/modes/xf86Crtc.h @@ -837,11 +837,11 @@ extern _X_EXPORT int xf86CrtcConfigPrivateIndex; static _X_INLINE xf86OutputPtr xf86CompatOutput(ScrnInfoPtr pScrn) { - xf86CrtcConfigPtr config = XF86_CRTC_CONFIG_PTR(pScrn); + xf86CrtcConfigPtr config; if (xf86CrtcConfigPrivateIndex == -1) - return NULL; - + return NULL; + config = XF86_CRTC_CONFIG_PTR(pScrn); if (config->compat_output < 0) return NULL; return config->output[config->compat_output]; |