aboutsummaryrefslogtreecommitdiffstats
path: root/java/com/tigervnc/rfb/RawDecoder.java
diff options
context:
space:
mode:
Diffstat (limited to 'java/com/tigervnc/rfb/RawDecoder.java')
-rw-r--r--java/com/tigervnc/rfb/RawDecoder.java1
1 files changed, 0 insertions, 1 deletions
diff --git a/java/com/tigervnc/rfb/RawDecoder.java b/java/com/tigervnc/rfb/RawDecoder.java
index 79db8260..f7e5d46a 100644
--- a/java/com/tigervnc/rfb/RawDecoder.java
+++ b/java/com/tigervnc/rfb/RawDecoder.java
@@ -29,7 +29,6 @@ public class RawDecoder extends Decoder {
int h = r.height();
int[] imageBuf = reader.getImageBuf(w * h);
int nPixels = imageBuf.length / (reader.bpp() / 8);
- int bytesPerRow = w * (reader.bpp() / 8);
while (h > 0) {
int nRows = nPixels / w;
if (nRows > h) nRows = h;