1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-09-10 12:03:16 +02:00

fixed warning, unused variable

This commit is contained in:
Ted Williams 2007-03-14 07:23:09 +00:00
parent b30041aff3
commit d4992c3d08

View file

@ -3,7 +3,6 @@ package org.eclipse.dd.debug.memory.renderings.traditional;
import java.math.BigInteger; import java.math.BigInteger;
import org.eclipse.debug.core.DebugException; import org.eclipse.debug.core.DebugException;
import org.eclipse.debug.core.model.IMemoryBlockExtension;
import org.eclipse.debug.core.model.MemoryByte; import org.eclipse.debug.core.model.MemoryByte;
import org.eclipse.swt.events.PaintEvent; import org.eclipse.swt.events.PaintEvent;
import org.eclipse.swt.graphics.GC; import org.eclipse.swt.graphics.GC;
@ -226,9 +225,6 @@ public class DataPane extends AbstractPane
{ {
super.paint(pe); super.paint(pe);
IMemoryBlockExtension memoryBlock = fRendering.getMemoryBlock();
// TODO what if it is null?
GC gc = pe.gc; GC gc = pe.gc;
gc.setFont(fRendering.getFont()); gc.setFont(fRendering.getFont());