[PATCH xf86-video-s3 4/4] Eliminate unused variable compilation warning

Kevin Brace kevinbrace at gmx.com
Tue Dec 18 23:44:52 UTC 2018


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

diff --git a/src/s3_video.c b/src/s3_video.c
index 998ce74..a362f44 100644
--- a/src/s3_video.c
+++ b/src/s3_video.c
@@ -63,7 +63,6 @@ static FBLinearPtr S3XVMemAlloc(ScrnInfoPtr pScrn, pointer pVideo, int size);
 void S3InitVideo(ScreenPtr pScreen)
 {
 	ScrnInfoPtr pScrn = xf86ScreenToScrn(pScreen);
-	S3Ptr pS3 = S3PTR(pScrn);
 	XF86VideoAdaptorPtr *adaptors, *newAdaptors = NULL;
 	XF86VideoAdaptorPtr newAdaptor = NULL;
 	int num_adaptors;
-- 
2.7.4



More information about the xorg-devel mailing list