summaryrefslogtreecommitdiff
path: root/odk/examples
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
commitbe9c779f35378a5e17cd9da6e1a45a75149dd7db (patch)
tree95402b9b5297ec7d397ff98b51523554d984ce9b /odk/examples
parent91a0a53e0cb75550801104cca07937e50869c590 (diff)
cppcheck: unused variables
Diffstat (limited to 'odk/examples')
-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 fa52c68b3ee4..4cb341ef5137 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);