[PATCH xf86-video-cirrus 3/3] Suppress unused label compilation warning

Kevin Brace kevinbrace at gmx.com
Tue Dec 25 14:39:27 UTC 2018


Signed-off-by: Kevin Brace <kevinbrace at gmx.com>
---
 src/lg_driver.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/src/lg_driver.c b/src/lg_driver.c
index eaba5f3..60280df 100644
--- a/src/lg_driver.c
+++ b/src/lg_driver.c
@@ -303,7 +303,9 @@ LgDoDDC(ScrnInfoPtr pScrn)
 
 	xf86SetDDCproperties(pScrn, MonInfo);
 
+#if LGuseI2C
 unmap_out:
+#endif /* LGuseI2C */
 	CirUnmapMem(pCir, pScrn->scrnIndex);
 
 	return MonInfo;
-- 
2.7.4



More information about the xorg-devel mailing list