[gtk-vnc] Remove some unused variables in VncConnection
- From: Daniel P. Berrange <dberrange src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk-vnc] Remove some unused variables in VncConnection
- Date: Fri, 18 Feb 2011 16:07:09 +0000 (UTC)
commit ed0f18444ecd51d40575ca67cb3371478636e7c1
Author: Daniel P. Berrange <berrange redhat com>
Date: Fri Feb 18 16:06:47 2011 +0000
Remove some unused variables in VncConnection
* src/vncconnection.c: Remove unused vars
src/vncconnection.c | 5 -----
1 files changed, 0 insertions(+), 5 deletions(-)
---
diff --git a/src/vncconnection.c b/src/vncconnection.c
index 51b8b8d..9564a61 100644
--- a/src/vncconnection.c
+++ b/src/vncconnection.c
@@ -2099,7 +2099,6 @@ static void vnc_connection_zrle_update(VncConnection *conn,
{
VncConnectionPrivate *priv = conn->priv;
guint32 length;
- guint32 offset;
guint16 i, j;
guint8 *zlib_data;
@@ -2113,7 +2112,6 @@ static void vnc_connection_zrle_update(VncConnection *conn,
priv->compressed_buffer = zlib_data;
priv->strm = &priv->streams[0];
- offset = 0;
for (j = 0; j < height; j += 64) {
for (i = 0; i < width; i += 64) {
guint16 w, h;
@@ -2315,7 +2313,6 @@ static void vnc_connection_tight_update_jpeg(VncConnection *conn, guint16 x, gui
VncConnectionPrivate *priv = conn->priv;
GdkPixbufLoader *loader = gdk_pixbuf_loader_new();
GdkPixbuf *p;
- guint8 *pixels;
if (!gdk_pixbuf_loader_write(loader, data, length, NULL)) {
priv->has_error = TRUE;
@@ -2327,8 +2324,6 @@ static void vnc_connection_tight_update_jpeg(VncConnection *conn, guint16 x, gui
p = g_object_ref(gdk_pixbuf_loader_get_pixbuf(loader));
g_object_unref(loader);
- pixels = gdk_pixbuf_get_pixels(p);
-
vnc_framebuffer_rgb24_blt(priv->fb,
gdk_pixbuf_get_pixels(p),
gdk_pixbuf_get_rowstride(p),
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]