summaryrefslogtreecommitdiff
path: root/ccode/valaccodereturnstatement.vala
diff options
context:
space:
mode:
Diffstat (limited to 'ccode/valaccodereturnstatement.vala')
-rw-r--r--ccode/valaccodereturnstatement.vala6
1 files changed, 3 insertions, 3 deletions
diff --git a/ccode/valaccodereturnstatement.vala b/ccode/valaccodereturnstatement.vala
index 15d91b650..50be0ac7f 100644
--- a/ccode/valaccodereturnstatement.vala
+++ b/ccode/valaccodereturnstatement.vala
@@ -30,15 +30,15 @@ public class Vala.CCodeReturnStatement : CCodeStatement {
* The optional expression to return.
*/
public CCodeExpression? return_expression { get; set; }
-
+
public CCodeReturnStatement (CCodeExpression? expr = null) {
return_expression = expr;
}
-
+
public override void write (CCodeWriter writer) {
writer.write_indent (line);
writer.write_string ("return");
-
+
if (return_expression != null) {
writer.write_string (" ");
return_expression.write (writer);