diff --git a/dsf-gdb/org.eclipse.cdt.dsf.gdb/src/org/eclipse/cdt/dsf/mi/service/command/output/CLICatchInfo.java b/dsf-gdb/org.eclipse.cdt.dsf.gdb/src/org/eclipse/cdt/dsf/mi/service/command/output/CLICatchInfo.java index 86488f46e48..7eecf28f061 100644 --- a/dsf-gdb/org.eclipse.cdt.dsf.gdb/src/org/eclipse/cdt/dsf/mi/service/command/output/CLICatchInfo.java +++ b/dsf-gdb/org.eclipse.cdt.dsf.gdb/src/org/eclipse/cdt/dsf/mi/service/command/output/CLICatchInfo.java @@ -48,11 +48,7 @@ public class CLICatchInfo extends MIInfo { } private MIBreakpoint parseCatchpoint(String str) { - if (str.startsWith("Catchpoint ")) { //$NON-NLS-1$ - return new MIBreakpoint(str); - } - assert false : "CLI catch command had an unexpected result: " + str; //$NON-NLS-1$ - return null; + return str.startsWith("Catchpoint ") ? new MIBreakpoint(str) : null; //$NON-NLS-1$ } /**