diff options
author | Andreas Jaeger <aj@suse.de> | 2005-05-15 15:50:09 +0000 |
---|---|---|
committer | Andreas Jaeger <aj@suse.de> | 2005-05-15 15:50:09 +0000 |
commit | 2dbed0a1c2db4cdf2d21817793a65d58c7a2540f (patch) | |
tree | e8ece30142cb7a852906438b278750add7b9192c /libgfortran/generated/eoshift3_4.c | |
parent | c12fa7b70bf4f23f2eb81f104bc7f592b0433c30 (diff) |
* m4/eoshift1.m4: Initialize variables to avoid warnings.
* m4/eoshift3.m4: Initialize variables to avoid warnings.
* generated/eoshift1_4.c, generated/eoshift1_8.c,
generated/eoshift3_4.c, generated/eoshift3_8.c: Regenerated.
* intrinsics/spread_generic.c (spread): Initialize variables to
avoid warnings.
* intrinsics/eoshift0.c (eoshift0): Initialize variables to avoid
warnings.
* intrinsics/eoshift2.c (eoshift2): Initialize variables to avoid
warnings.
* io/list_read.c (nml_get_obj_data): Initialize variables to avoid
warnings.
git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@99726 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libgfortran/generated/eoshift3_4.c')
-rw-r--r-- | libgfortran/generated/eoshift3_4.c | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/libgfortran/generated/eoshift3_4.c b/libgfortran/generated/eoshift3_4.c index 088cfbeba49..964d98b55ed 100644 --- a/libgfortran/generated/eoshift3_4.c +++ b/libgfortran/generated/eoshift3_4.c @@ -1,5 +1,5 @@ /* Implementation of the EOSHIFT intrinsic - Copyright 2002 Free Software Foundation, Inc. + Copyright 2002, 2005 Free Software Foundation, Inc. Contributed by Paul Brook <paul@nowt.org> This file is part of the GNU Fortran 95 runtime library (libgfortran). @@ -78,6 +78,12 @@ eoshift3_4 (gfc_array_char *ret, gfc_array_char *array, GFC_INTEGER_4 sh; GFC_INTEGER_4 delta; + /* The compiler cannot figure out that these are set, initialize + them to avoid warnings. */ + len = 0; + soffset = 0; + roffset = 0; + if (pwhich) which = *pwhich - 1; else |