Преглед изворни кода

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 година
родитељ
комит
2ff61a285e
1 измењених фајлова са 0 додато и 2 уклоњено
  1. 0
    2
      common/rfb/zrleDecode.h

+ 0
- 2
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");
}
}

Loading…
Откажи
Сачувај