Browse Source

Remove unneeded logging from ZRLE decoder

We will log the exception, so avoid direct writes to stderr by
simply removing these log lines.
tags/v1.9.90
Pierre Ossman 5 years ago
parent
commit
2ff61a285e
1 changed files with 0 additions and 2 deletions
  1. 0
    2
      common/rfb/zrleDecode.h

+ 0
- 2
common/rfb/zrleDecode.h View File

@@ -134,7 +134,6 @@ void ZRLE_DECODE (const Rect& r, rdr::InStream* is,
} while (b == 255);

if (end - ptr < len) {
fprintf (stderr, "ZRLE decode error\n");
throw Exception ("ZRLE decode error");
}

@@ -158,7 +157,6 @@ void ZRLE_DECODE (const Rect& r, rdr::InStream* is,
} while (b == 255);

if (end - ptr < len) {
fprintf (stderr, "ZRLE decode error\n");
throw Exception ("ZRLE decode error");
}
}

Loading…
Cancel
Save