From 83057baf15bddd90dd40ff97bd496a752ed87fe2 Mon Sep 17 00:00:00 2001 From: "Pedro F. Giffuni" Date: Wed, 4 Jan 2012 20:05:38 +0000 Subject: [PATCH] Quiet down clang -Werror. Reported by: Pawel Worach Approved by: jhb (mentor) --- lib/libvgl/simple.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/libvgl/simple.c b/lib/libvgl/simple.c index 3961aa0aca30..036d8eec9e34 100644 --- a/lib/libvgl/simple.c +++ b/lib/libvgl/simple.c @@ -242,8 +242,8 @@ VGLLine(VGLBitmap *object, int x1, int y1, int x2, int y2, u_long color) if (x1 > x2) { /* start from the smaller coordinate */ x = x2; y = y2; - x1 = x1; - y1 = y1; +/* x1 = x1; + y1 = y1; */ } else { x = x1; y = y1;