From d7f0b174dafbe00bdbc54de6c4bfc4f045f3e4cc Mon Sep 17 00:00:00 2001 From: Laxmikant Rashinkar Date: Mon, 28 Jul 2014 18:13:07 -0700 Subject: [PATCH] coverity: uninitialized scalar variable --- xup/xup.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/xup/xup.c b/xup/xup.c index 8d9dc41f..830b0f12 100644 --- a/xup/xup.c +++ b/xup/xup.c @@ -1129,7 +1129,10 @@ process_server_paint_rect_shmem(struct mod *mod, struct stream *s) in_uint16_le(s, height); in_sint16_le(s, srcx); in_sint16_le(s, srcy); + bmpdata = 0; + rv = 0; + if (flags == 0) /* screen */ { if (mod->screen_shmem_id == 0)