From a0d7ba25ba7d69be948be678ed4a8f96068bcb0e Mon Sep 17 00:00:00 2001 From: Xavier Bachelot Date: Sun, 19 Jun 2016 23:13:47 +0200 Subject: [PATCH] Fix 3 unused-variable warnings in via_lvds.c. Signed-off-by: Xavier Bachelot --- src/via_lvds.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/via_lvds.c b/src/via_lvds.c index 80f5c83..635b25f 100644 --- a/src/via_lvds.c +++ b/src/via_lvds.c @@ -578,7 +578,6 @@ static int via_lvds_mode_valid(xf86OutputPtr output, DisplayModePtr pMode) { ScrnInfoPtr pScrn = output->scrn; - VIAPtr pVia = VIAPTR(pScrn); ViaPanelInfoPtr Panel = output->driver_private; @@ -776,7 +775,6 @@ via_lvds_mode_set(xf86OutputPtr output, DisplayModePtr mode, { ViaPanelInfoPtr Panel = output->driver_private; ScrnInfoPtr pScrn = output->scrn; - VIAPtr pVia = VIAPTR(pScrn); if (Panel->Scale) { ViaPanelScale(pScrn, mode->HDisplay, mode->VDisplay, @@ -983,7 +981,6 @@ via_lvds_init(ScrnInfoPtr pScrn) ViaPanelInfoPtr Panel = (ViaPanelInfoPtr) xnfcalloc(sizeof(ViaPanelInfoRec), 1); OptionInfoPtr Options = xnfalloc(sizeof(ViaPanelOptions)); MessageType from = X_DEFAULT; - const char *s = NULL; VIAPtr pVia = VIAPTR(pScrn); xf86OutputPtr output = NULL; vgaHWPtr hwp = VGAHWPTR(pScrn); -- 2.5.5