diff mbox

[Committed,fortran] Remove unneeded initialization

Message ID 20161203072451.GA89716@troutmask.apl.washington.edu
State New
Headers show

Commit Message

Steve Kargl Dec. 3, 2016, 7:24 a.m. UTC
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.
diff mbox

Patch

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;