projects
/
platform
/
upstream
/
freerdp.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
44cfb01
)
resolve trivial issues found by cppcheck
author
Ilya Shipitsin
<chipitsine@gmail.com>
Fri, 17 Feb 2017 12:21:18 +0000
(17:21 +0500)
committer
Ilya Shipitsin
<chipitsine@gmail.com>
Fri, 17 Feb 2017 12:21:18 +0000
(17:21 +0500)
[server/shadow/X11/x11_shadow.c:511]: (error) Uninitialized variable: x
[server/shadow/X11/x11_shadow.c:512]: (error) Uninitialized variable: y
server/shadow/X11/x11_shadow.c
patch
|
blob
|
history
diff --git
a/server/shadow/X11/x11_shadow.c
b/server/shadow/X11/x11_shadow.c
index
f566260
..
8ea0eb6
100644
(file)
--- a/
server/shadow/X11/x11_shadow.c
+++ b/
server/shadow/X11/x11_shadow.c
@@
-440,7
+440,7
@@
static int x11_shadow_pointer_alpha_update(x11ShadowSubsystem* subsystem)
static int x11_shadow_query_cursor(x11ShadowSubsystem* subsystem, BOOL getImage)
{
- int x
, y
, n, k;
+ int x
= 0, y = 0
, n, k;
rdpShadowServer* server;
rdpShadowSurface* surface;
server = subsystem->server;