summaryrefslogtreecommitdiff
path: root/vcl
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2014-12-15 12:55:49 +0000
committerCaolán McNamara <caolanm@redhat.com>2014-12-15 12:55:49 +0000
commit580e21154196a4b1f3e48d3d4d2395d1c182c580 (patch)
tree6a53207f60a6776e9a3988a145df6ea32d4ee71a /vcl
parent454ddddd9995ad7c6f865729d160814f5a9f093a (diff)
-Werror=unused-but-set-variable
Change-Id: Ia65754272ff5c1661241dd503cef23c7a89b660e
Diffstat (limited to 'vcl')
-rw-r--r--vcl/opengl/gdiimpl.cxx2
1 files changed, 0 insertions, 2 deletions
diff --git a/vcl/opengl/gdiimpl.cxx b/vcl/opengl/gdiimpl.cxx
index 137a84d27104..09ffbf655dbf 100644
--- a/vcl/opengl/gdiimpl.cxx
+++ b/vcl/opengl/gdiimpl.cxx
@@ -472,7 +472,6 @@ void OpenGLSalGraphicsImpl::DrawLine( long nX1, long nY1, long nX2, long nY2 )
//determine angle of the line to horizontal
double tx=0,ty=0; //core thinkness of a line
double Rx=0,Ry=0; //fading edge of a line
- double cx=0,cy=0; //cap of a line
double dx=x2-x1;
double dy=y2-y1;
if ( w < 3)
@@ -513,7 +512,6 @@ void OpenGLSalGraphicsImpl::DrawLine( long nX1, long nY1, long nX2, long nY2 )
double L=sqrt(dx*dx+dy*dy);
dx/=L;
dy/=L;
- cx=-0.6*dy; cy=0.6*dx;
tx=t*dx; ty=t*dy;
Rx=R*dx; Ry=R*dy;
}