diff options
author | Christophe Fergeau <cfergeau@redhat.com> | 2011-04-07 18:05:42 +0200 |
---|---|---|
committer | Alon Levy <alevy@redhat.com> | 2011-07-21 15:09:27 +0300 |
commit | 96555db49a4a04c6796ed7d823a2856adb48bee7 (patch) | |
tree | 79795c3faa3d203c841feef0d68410a2df98a5a8 | |
parent | dda8e3f62c6b65356d84080799b1922f1a5164b8 (diff) | |
download | spice-96555db49a4a04c6796ed7d823a2856adb48bee7.tar.gz spice-96555db49a4a04c6796ed7d823a2856adb48bee7.tar.xz spice-96555db49a4a04c6796ed7d823a2856adb48bee7.zip |
gl: remove unused variables
gcc 4.6 warned about these.
-rw-r--r-- | client/x11/red_pixmap_gl.cpp | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/client/x11/red_pixmap_gl.cpp b/client/x11/red_pixmap_gl.cpp index 7c859665..0e7b8c13 100644 --- a/client/x11/red_pixmap_gl.cpp +++ b/client/x11/red_pixmap_gl.cpp @@ -175,10 +175,7 @@ void RedPixmapGL::update_texture(const SpiceRect *bbox) { RenderType rendertype; GLuint tex; - int width_powed; - int height_powed; int height; - int width; rendertype = ((PixelsSource_p*)get_opaque())->gl.rendertype; @@ -189,9 +186,6 @@ void RedPixmapGL::update_texture(const SpiceRect *bbox) int is_enabled; GLint prev_tex; - width_powed = ((PixelsSource_p*)get_opaque())->gl.width_powed; - height_powed = ((PixelsSource_p*)get_opaque())->gl.height_powed; - width = ((PixelsSource_p*)get_opaque())->gl.width; height = ((PixelsSource_p*)get_opaque())->gl.height; tex = ((PixelsSource_p*)get_opaque())->gl.tex; |