diff options
author | Wei Qi <weiqi4@huawei.com> | 2017-04-07 14:58:58 +0800 |
---|---|---|
committer | Gerd Hoffmann <kraxel@redhat.com> | 2017-05-12 12:34:31 +0200 |
commit | 761d0f97a40a3a6b6a0f2fb75eea47a0cea42d14 (patch) | |
tree | 1d84b8ac604ab84abbb57469f9b483088ea84550 /ui | |
parent | bb1599b64c8f94fb2bd745d20f128e11543d891d (diff) |
vnc: simple clean up
It is unnecessary to assign 'packed_bytes' to 'estimated_bytes', because 'estimated_bytes' unused after assignment.
Signed-off-by: Wei Qi <weiqi4@huawei.com>
Reviewed-by: Sahid Orentino Ferdjaoui <sahid.ferdjaoui@redhat.com>
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Diffstat (limited to 'ui')
-rw-r--r-- | ui/vnc-enc-zrle.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/ui/vnc-enc-zrle.c b/ui/vnc-enc-zrle.c index 5489870e70..fd63d4f688 100644 --- a/ui/vnc-enc-zrle.c +++ b/ui/vnc-enc-zrle.c @@ -163,7 +163,6 @@ static void zrle_choose_palette_rle(VncState *vs, int w, int h, if (packed_bytes < estimated_bytes) { *use_rle = false; *use_palette = true; - estimated_bytes = packed_bytes; } } } |