summaryrefslogtreecommitdiffstats
path: root/xup/xup.c
diff options
context:
space:
mode:
authorLaxmikant Rashinkar <LK.Rashinkar@gmail.com>2014-07-28 18:13:07 -0700
committerLaxmikant Rashinkar <LK.Rashinkar@gmail.com>2014-07-28 18:13:07 -0700
commitd7f0b174dafbe00bdbc54de6c4bfc4f045f3e4cc (patch)
tree7e67e9c58fd13763812e72883746ca9d7516b3c0 /xup/xup.c
parentad4bea9a6e68374da79bc2f22e10b6e1103e492b (diff)
downloadxrdp-proprietary-d7f0b174dafbe00bdbc54de6c4bfc4f045f3e4cc.tar.gz
xrdp-proprietary-d7f0b174dafbe00bdbc54de6c4bfc4f045f3e4cc.zip
coverity: uninitialized scalar variable
Diffstat (limited to 'xup/xup.c')
-rw-r--r--xup/xup.c3
1 files changed, 3 insertions, 0 deletions
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)