summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFelipe Heidrich <fheidric>2010-02-26 16:16:54 +0000
committerFelipe Heidrich <fheidric>2010-02-26 16:16:54 +0000
commita7dcc2467a50007e735d261cd122c3abc946faca (patch)
tree446a1d25b235629f5dc84234e95efb96cd643d05
parent4a9524fbe3fd78e0737484a993042b6f78fd3109 (diff)
downloadeclipse.platform.swt-a7dcc2467a50007e735d261cd122c3abc946faca.tar.gz
eclipse.platform.swt-a7dcc2467a50007e735d261cd122c3abc946faca.tar.xz
eclipse.platform.swt-a7dcc2467a50007e735d261cd122c3abc946faca.zip
fix warning (dead code)
-rwxr-xr-xbundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/Tree.java2
1 files changed, 0 insertions, 2 deletions
diff --git a/bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/Tree.java b/bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/Tree.java
index dbdba64403..d5c60d4b9d 100755
--- a/bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/Tree.java
+++ b/bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/Tree.java
@@ -7753,7 +7753,6 @@ LRESULT wmNotifyToolTip (NMTTCUSTOMDRAW nmcd, int /*long*/ lParam) {
int /*long*/ hFont = item [0].fontHandle (index [0]);
if (hFont == -1) hFont = OS.SendMessage (handle, OS.WM_GETFONT, 0, 0);
int /*long*/ oldFont = OS.SelectObject (hDC, hFont);
- LRESULT result = null;
boolean drawForeground = true;
cellRect [0] = item [0].getBounds (index [0], true, true, false, false, false, hDC);
if (hooks (SWT.EraseItem)) {
@@ -7814,7 +7813,6 @@ LRESULT wmNotifyToolTip (NMTTCUSTOMDRAW nmcd, int /*long*/ lParam) {
}
OS.SelectObject (hDC, oldFont);
OS.ReleaseDC (handle, hDC);
- if (result != null) return result;
}
break;
}