[Committed,fortran] Remove unneeded initialization
Steve Kargl
sgk@troutmask.apl.washington.edu
Sat Dec 3 07:25:00 GMT 2016
I've committed the following patch. It removes an unneeded
initialization. A pointer is set to NULL, and then in the
next line of code the pointer is set a memory address.
2016-12-02 Steven G. Kargl <kargl@gcc.gnu.org>
* expr.c (gfc_build_conversion): Remove unneeded initialization.
Index: expr.c
===================================================================
--- expr.c (revision 243208)
+++ expr.c (working copy)
@@ -795,8 +795,6 @@ gfc_build_conversion (gfc_expr *e)
p = gfc_get_expr ();
p->expr_type = EXPR_FUNCTION;
p->symtree = NULL;
- p->value.function.actual = NULL;
-
p->value.function.actual = gfc_get_actual_arglist ();
p->value.function.actual->expr = e;
--
Steve
More information about the Fortran
mailing list