mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-06-09 02:36:01 +02:00
Fixed NPE in FunctionDeclaration.
This commit is contained in:
parent
dd13b8fe53
commit
ec58acd398
1 changed files with 4 additions and 1 deletions
|
@ -27,7 +27,10 @@ public class FunctionDeclaration extends SourceManipulation implements IFunction
|
||||||
}
|
}
|
||||||
|
|
||||||
public String getReturnType(){
|
public String getReturnType(){
|
||||||
return returnType;
|
if (returnType != null)
|
||||||
|
return returnType;
|
||||||
|
else
|
||||||
|
return "";
|
||||||
}
|
}
|
||||||
|
|
||||||
public void setReturnType(String type){
|
public void setReturnType(String type){
|
||||||
|
|
Loading…
Add table
Reference in a new issue