1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-07-01 06:05:24 +02:00

Cosmetics.

This commit is contained in:
Sergey Prigogin 2011-03-07 19:22:29 +00:00
parent 2550819036
commit 4b9a8ef359

View file

@ -861,8 +861,7 @@ public class TranslationUnit extends Openable implements ITranslationUnit {
} }
} }
} }
} } catch (CoreException e) {
catch (CoreException e) {
CCorePlugin.log(e); CCorePlugin.log(e);
} }
} }
@ -1023,10 +1022,11 @@ public class TranslationUnit extends Openable implements ITranslationUnit {
ICElement[] children; ICElement[] children;
try { try {
children= getChildren(); children= getChildren();
} catch (CModelException exc) { } catch (CModelException e) {
CCorePlugin.log(exc); CCorePlugin.log(e);
return null; return null;
} }
switch (elementType) { switch (elementType) {
case ICElement.C_FUNCTION: case ICElement.C_FUNCTION:
case ICElement.C_FUNCTION_DECLARATION: case ICElement.C_FUNCTION_DECLARATION: