Skip to content

Commit e1fbb11

Browse files
committed
libvncclient: don't let cleanup depend on libjpeg build support
They're not connected to libjpeg. Closes #424
1 parent 00b1202 commit e1fbb11

1 file changed

Lines changed: 0 additions & 2 deletions

File tree

libvncclient/vncviewer.c

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -507,7 +507,6 @@ rfbBool rfbInitClient(rfbClient* client,int* argc,char** argv) {
507507

508508
void rfbClientCleanup(rfbClient* client) {
509509
#ifdef LIBVNCSERVER_HAVE_LIBZ
510-
#ifdef LIBVNCSERVER_HAVE_LIBJPEG
511510
int i;
512511

513512
for ( i = 0; i < 4; i++ ) {
@@ -523,7 +522,6 @@ void rfbClientCleanup(rfbClient* client) {
523522
client->decompStream.msg != NULL)
524523
rfbClientLog("inflateEnd: %s\n", client->decompStream.msg );
525524
}
526-
#endif
527525
#endif
528526

529527
if (client->ultra_buffer)

0 commit comments

Comments
 (0)