summaryrefslogtreecommitdiffstats
path: root/bundles/org.eclipse.swt/Eclipse SWT Drag and Drop
diff options
context:
space:
mode:
authorVeronika Irvine <veronika>2006-04-06 20:25:36 +0000
committerVeronika Irvine <veronika>2006-04-06 20:25:36 +0000
commit96bfaceb2943798f4f574ade485c9b991be1bef4 (patch)
treed042ab5206dd6eb81c051e0e0ebdbd00c9cadfb3 /bundles/org.eclipse.swt/Eclipse SWT Drag and Drop
parent6cc03e04115bf3ffc0fa37ae1c66a73bba596935 (diff)
downloadeclipse.platform.swt-96bfaceb2943798f4f574ade485c9b991be1bef4.tar.gz
eclipse.platform.swt-96bfaceb2943798f4f574ade485c9b991be1bef4.tar.xz
eclipse.platform.swt-96bfaceb2943798f4f574ade485c9b991be1bef4.zip
fix compiler warning
Diffstat (limited to 'bundles/org.eclipse.swt/Eclipse SWT Drag and Drop')
-rw-r--r--bundles/org.eclipse.swt/Eclipse SWT Drag and Drop/carbon/org/eclipse/swt/dnd/DropTarget.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/bundles/org.eclipse.swt/Eclipse SWT Drag and Drop/carbon/org/eclipse/swt/dnd/DropTarget.java b/bundles/org.eclipse.swt/Eclipse SWT Drag and Drop/carbon/org/eclipse/swt/dnd/DropTarget.java
index 4fdbab74be..192ad859da 100644
--- a/bundles/org.eclipse.swt/Eclipse SWT Drag and Drop/carbon/org/eclipse/swt/dnd/DropTarget.java
+++ b/bundles/org.eclipse.swt/Eclipse SWT Drag and Drop/carbon/org/eclipse/swt/dnd/DropTarget.java
@@ -369,7 +369,7 @@ int dragReceiveHandler(int theWindow, int handlerRefCon, int theDrag) {
return OS.dragNotAcceptedErr;
}
// ask drag source for dropped data
- byte[][] data = data = new byte[0][];
+ byte[][] data = new byte[0][];
// locate all the items with data of the desired type
short[] numItems = new short[1];
OS.CountDragItems(theDrag, numItems);