diff options
author | Pierre Ossman <ossman@cendio.se> | 2019-04-29 14:13:16 +0200 |
---|---|---|
committer | Pierre Ossman <ossman@cendio.se> | 2019-04-29 14:14:00 +0200 |
commit | 2ff61a285efda80cca7f1855aca23b99149bac8c (patch) | |
tree | ac218d8aefaa343dc31f11cbd75117571a01cb35 | |
parent | e9e7da9b7adcf33dece522514c323d392913041b (diff) | |
download | tigervnc-2ff61a285efda80cca7f1855aca23b99149bac8c.tar.gz tigervnc-2ff61a285efda80cca7f1855aca23b99149bac8c.zip |
Remove unneeded logging from ZRLE decoder
We will log the exception, so avoid direct writes to stderr by
simply removing these log lines.
-rw-r--r-- | common/rfb/zrleDecode.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/common/rfb/zrleDecode.h b/common/rfb/zrleDecode.h index b8148672..32b5c92b 100644 --- a/common/rfb/zrleDecode.h +++ b/common/rfb/zrleDecode.h @@ -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"); } } |