diff --git a/sesman/session.c b/sesman/session.c index aee2af3d..18f46dc4 100644 --- a/sesman/session.c +++ b/sesman/session.c @@ -333,7 +333,6 @@ session_start_fork(int width, int height, int bpp, char* username, g_free(temp); return 0; } - wmpid = 0; pid = g_fork(); if (pid == -1) { diff --git a/xrdp/xrdp_bitmap.c b/xrdp/xrdp_bitmap.c index 0b82b3d6..b60edea8 100644 --- a/xrdp/xrdp_bitmap.c +++ b/xrdp/xrdp_bitmap.c @@ -761,7 +761,6 @@ xrdp_bitmap_copy_box_with_crc(struct xrdp_bitmap* self, { return 1; } - crc = dest->crc; CRC_START(crc); if (self->bpp == 24) {