summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2010-12-09 12:14:17 +0000
committerCaolán McNamara <caolanm@redhat.com>2010-12-09 12:14:17 +0000
commit2c1667eb98ec32b8893ccc7d4e91281a00e706dc (patch)
tree392fe05bcb33d0d43ee06ed7a3183a72f49ec296
parentf0cde80933fff1ab69e34846d81ccc1b076ac419 (diff)
cppcheck: unused variables
-rw-r--r--odk/examples/DevelopersGuide/OfficeDev/DesktopEnvironment/nativelib/unix/nativeview.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/odk/examples/DevelopersGuide/OfficeDev/DesktopEnvironment/nativelib/unix/nativeview.c b/odk/examples/DevelopersGuide/OfficeDev/DesktopEnvironment/nativelib/unix/nativeview.c
index 83f246ee..68be1382 100644
--- a/odk/examples/DevelopersGuide/OfficeDev/DesktopEnvironment/nativelib/unix/nativeview.c
+++ b/odk/examples/DevelopersGuide/OfficeDev/DesktopEnvironment/nativelib/unix/nativeview.c
@@ -78,7 +78,6 @@ JNIEXPORT jlong JNICALL Java_NativeView_getNativeWindow
JAWT_DrawingSurfaceInfo* dsi ;
JAWT_X11DrawingSurfaceInfo* dsi_x11 ;
Drawable drawable;
- Display* display ;
/* Get the AWT */
awt.version = JAWT_VERSION_1_3;
@@ -99,7 +98,6 @@ JNIEXPORT jlong JNICALL Java_NativeView_getNativeWindow
/* Get the platform-specific drawing info */
dsi_x11 = (JAWT_X11DrawingSurfaceInfo*)dsi->platformInfo;
drawable = dsi_x11->drawable;
- display = dsi_x11->display;
/* Free the drawing surface info */
ds->FreeDrawingSurfaceInfo(dsi);