diff options
author | Christophe Fergeau <cfergeau@redhat.com> | 2012-03-05 10:21:29 +0100 |
---|---|---|
committer | Christophe Fergeau <cfergeau@redhat.com> | 2012-03-20 16:53:35 +0100 |
commit | 01c6f4d2c60ecc360353049f757c60a7fffc81a6 (patch) | |
tree | 094c297914d34f4d217dbdee7194badf572ce087 /client | |
parent | 910a3f84196bc7d7d44dc153b79fdd2569bc9123 (diff) | |
download | spice-01c6f4d2c60ecc360353049f757c60a7fffc81a6.tar.gz spice-01c6f4d2c60ecc360353049f757c60a7fffc81a6.tar.xz spice-01c6f4d2c60ecc360353049f757c60a7fffc81a6.zip |
Remove unused Canvas members
The various Canvas have _max and _base variables which are not
used, better to remove them.
Diffstat (limited to 'client')
-rw-r--r-- | client/canvas.cpp | 1 | ||||
-rw-r--r-- | client/canvas.h | 3 | ||||
-rw-r--r-- | client/red_gdi_canvas.h | 2 | ||||
-rw-r--r-- | client/red_sw_canvas.h | 2 |
4 files changed, 0 insertions, 8 deletions
diff --git a/client/canvas.cpp b/client/canvas.cpp index 0986d47b..7d1561a3 100644 --- a/client/canvas.cpp +++ b/client/canvas.cpp @@ -70,7 +70,6 @@ void Canvas::clear() void Canvas::begin_draw(SpiceMsgDisplayBase& base, int size, size_t min_size) { - _base = (uintptr_t)&base; } void Canvas::draw_fill(SpiceMsgDisplayDrawFill& fill, int size) diff --git a/client/canvas.h b/client/canvas.h index 5a34bdc5..51f28003 100644 --- a/client/canvas.h +++ b/client/canvas.h @@ -343,9 +343,6 @@ private: ZlibDecoder _zlib_decoder; SurfacesCache& _surfaces_cache; - - unsigned long _base; - unsigned long _max; }; diff --git a/client/red_gdi_canvas.h b/client/red_gdi_canvas.h index fa173c44..77adcf7b 100644 --- a/client/red_gdi_canvas.h +++ b/client/red_gdi_canvas.h @@ -48,8 +48,6 @@ private: RedPixmapGdi *_helper_pixmap; HDC _dc; HBITMAP _prev_bitmap; - unsigned long _base; - unsigned long _max; }; #endif diff --git a/client/red_sw_canvas.h b/client/red_sw_canvas.h index 47366494..eb577aca 100644 --- a/client/red_sw_canvas.h +++ b/client/red_sw_canvas.h @@ -45,8 +45,6 @@ public: private: RedPixmap *_pixmap; - unsigned long _base; - unsigned long _max; }; #endif |