Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJohn Cortell2007-01-31 01:45:50 +0000
committerJohn Cortell2007-01-31 01:45:50 +0000
commitcf063cd423ca965be187462242da50a80ced2d3f (patch)
tree3c1bc695abe6d6bec6c7a9dadda719b8a369342c
parentdacce43fda8c4ebc44779ddf1745e7a5b7644f41 (diff)
downloadorg.eclipse.cdt-cf063cd423ca965be187462242da50a80ced2d3f.tar.gz
org.eclipse.cdt-cf063cd423ca965be187462242da50a80ced2d3f.tar.xz
org.eclipse.cdt-cf063cd423ca965be187462242da50a80ced2d3f.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.java3
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 e51ff06233..0d994c637c 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 );
}

Back to the top