diff options
author | John Cortell | 2007-01-31 01:47:21 +0000 |
---|---|---|
committer | John Cortell | 2007-01-31 01:47:21 +0000 |
commit | e3d74cc314997e25d8f54138ac88bf5d634b57d3 (patch) | |
tree | 9183f38873a8093f8d23d1ba74952e5580383fa4 | |
parent | dcf30a830b7c88f8ca76619e4a606350cb42de91 (diff) | |
download | org.eclipse.cdt-e3d74cc314997e25d8f54138ac88bf5d634b57d3.tar.gz org.eclipse.cdt-e3d74cc314997e25d8f54138ac88bf5d634b57d3.tar.xz org.eclipse.cdt-e3d74cc314997e25d8f54138ac88bf5d634b57d3.zip |
Remove extraneous, but harmless String assignment
-rw-r--r-- | debug/org.eclipse.cdt.debug.core/src/org/eclipse/cdt/debug/internal/core/model/CDebugTarget.java | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/debug/org.eclipse.cdt.debug.core/src/org/eclipse/cdt/debug/internal/core/model/CDebugTarget.java b/debug/org.eclipse.cdt.debug.core/src/org/eclipse/cdt/debug/internal/core/model/CDebugTarget.java index e51ff06233a..0d994c637ca 100644 --- a/debug/org.eclipse.cdt.debug.core/src/org/eclipse/cdt/debug/internal/core/model/CDebugTarget.java +++ b/debug/org.eclipse.cdt.debug.core/src/org/eclipse/cdt/debug/internal/core/model/CDebugTarget.java @@ -904,8 +904,7 @@ public class CDebugTarget extends CDebugElement implements ICDebugTarget, ICDIEv try { ILaunchConfiguration launchConfig = getLaunch().getLaunchConfiguration(); if ( launchConfig.getAttribute( ICDTLaunchConfigurationConstants.ATTR_DEBUGGER_STOP_AT_MAIN, ICDTLaunchConfigurationConstants.DEBUGGER_STOP_AT_MAIN_DEFAULT ) ) { - String mainSymbol = new String( ICDTLaunchConfigurationConstants.DEBUGGER_STOP_AT_MAIN_SYMBOL_DEFAULT ); - mainSymbol = launchConfig.getAttribute( ICDTLaunchConfigurationConstants.ATTR_DEBUGGER_STOP_AT_MAIN_SYMBOL, ICDTLaunchConfigurationConstants.DEBUGGER_STOP_AT_MAIN_SYMBOL_DEFAULT ); + String mainSymbol = launchConfig.getAttribute( ICDTLaunchConfigurationConstants.ATTR_DEBUGGER_STOP_AT_MAIN_SYMBOL, ICDTLaunchConfigurationConstants.DEBUGGER_STOP_AT_MAIN_SYMBOL_DEFAULT ); ICDILocation location = getCDITarget().createFunctionLocation( "", mainSymbol ); //$NON-NLS-1$ setInternalTemporaryBreakpoint( location ); } |