summaryrefslogtreecommitdiffstats
path: root/src/ege-color-prof-tracker.cpp
diff options
context:
space:
mode:
authorKris De Gussem <kris.degussem@gmail.com>2013-03-11 21:48:33 +0000
committerKris <Kris.De.Gussem@hotmail.com>2013-03-11 21:48:33 +0000
commit1f2e3605492857229ecac6204e2957a91dd0ad44 (patch)
tree53c82baa4ea8e4479d83bd94279397a695cdc069 /src/ege-color-prof-tracker.cpp
parentDrop duplicate io code ( Bug #1120585 ) (diff)
downloadinkscape-1f2e3605492857229ecac6204e2957a91dd0ad44.tar.gz
inkscape-1f2e3605492857229ecac6204e2957a91dd0ad44.zip
cppcheck
(bzr r12193)
Diffstat (limited to 'src/ege-color-prof-tracker.cpp')
-rw-r--r--src/ege-color-prof-tracker.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/ege-color-prof-tracker.cpp b/src/ege-color-prof-tracker.cpp
index 2e1b8188f..53004a96d 100644
--- a/src/ege-color-prof-tracker.cpp
+++ b/src/ege-color-prof-tracker.cpp
@@ -566,9 +566,8 @@ GdkFilterReturn x11_win_filter(GdkXEvent *xevent,
const gchar* name = gdk_x11_get_xatom_name(note->atom);
if ( strncmp("_ICC_PROFILE", name, 12 ) == 0 ) {
XEvent* native = (XEvent*)xevent;
- Status stat = Success;
XWindowAttributes tmp;
- stat = XGetWindowAttributes( native->xproperty.display, native->xproperty.window, &tmp );
+ Status stat = XGetWindowAttributes( native->xproperty.display, native->xproperty.window, &tmp );
if ( stat ) {
GdkDisplay* display = gdk_x11_lookup_xdisplay(native->xproperty.display);
if ( display ) {