diff options
author | Caolán McNamara <caolanm@redhat.com> | 2014-12-15 12:55:49 +0000 |
---|---|---|
committer | Eike Rathke <erack@redhat.com> | 2014-12-16 11:16:58 +0100 |
commit | 34c09076e744ac347502fb54417946bf198392b7 (patch) | |
tree | 3a5afc4aee50ea8665a18d85eeff6bd11f1b506b | |
parent | 25b5542779ab6066d9ec233952debe126f1521ff (diff) |
-Werror=unused-but-set-variable
Change-Id: Ia65754272ff5c1661241dd503cef23c7a89b660e
(cherry picked from commit 580e21154196a4b1f3e48d3d4d2395d1c182c580)
-rw-r--r-- | vcl/opengl/gdiimpl.cxx | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/vcl/opengl/gdiimpl.cxx b/vcl/opengl/gdiimpl.cxx index 0e14fada7418..f992136ff53c 100644 --- a/vcl/opengl/gdiimpl.cxx +++ b/vcl/opengl/gdiimpl.cxx @@ -500,7 +500,6 @@ void OpenGLSalGraphicsImpl::DrawLineAA( 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) @@ -541,7 +540,6 @@ void OpenGLSalGraphicsImpl::DrawLineAA( 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; } |