cppcheck: unused variables

This commit is contained in:
Caolán McNamara 2010-12-09 12:14:17 +00:00
parent 91a0a53e0c
commit be9c779f35

View file

@ -78,7 +78,6 @@ JNIEXPORT jlong JNICALL Java_NativeView_getNativeWindow
JAWT_DrawingSurfaceInfo* dsi ; JAWT_DrawingSurfaceInfo* dsi ;
JAWT_X11DrawingSurfaceInfo* dsi_x11 ; JAWT_X11DrawingSurfaceInfo* dsi_x11 ;
Drawable drawable; Drawable drawable;
Display* display ;
/* Get the AWT */ /* Get the AWT */
awt.version = JAWT_VERSION_1_3; awt.version = JAWT_VERSION_1_3;
@ -99,7 +98,6 @@ JNIEXPORT jlong JNICALL Java_NativeView_getNativeWindow
/* Get the platform-specific drawing info */ /* Get the platform-specific drawing info */
dsi_x11 = (JAWT_X11DrawingSurfaceInfo*)dsi->platformInfo; dsi_x11 = (JAWT_X11DrawingSurfaceInfo*)dsi->platformInfo;
drawable = dsi_x11->drawable; drawable = dsi_x11->drawable;
display = dsi_x11->display;
/* Free the drawing surface info */ /* Free the drawing surface info */
ds->FreeDrawingSurfaceInfo(dsi); ds->FreeDrawingSurfaceInfo(dsi);