diff options
author | Uros Bizjak <ubizjak@gmail.com> | 2014-11-25 19:29:42 +0100 |
---|---|---|
committer | Uros Bizjak <uros@gcc.gnu.org> | 2014-11-25 19:29:42 +0100 |
commit | cbe5b9605f79886585909f9b256a0acb3f683985 (patch) | |
tree | 5cc0897a7041b62233106625033e8e36f88a7026 /libgfortran | |
parent | 375132991d21ea039aaecd850018a636f240bebb (diff) | |
download | gcc-cbe5b9605f79886585909f9b256a0acb3f683985.tar.gz |
env.c (getenv): Remove unused variable res_len.
* intrinsics/env.c (getenv): Remove unused variable res_len.
From-SVN: r218057
Diffstat (limited to 'libgfortran')
-rw-r--r-- | libgfortran/ChangeLog | 4 | ||||
-rw-r--r-- | libgfortran/intrinsics/env.c | 1 |
2 files changed, 4 insertions, 1 deletions
diff --git a/libgfortran/ChangeLog b/libgfortran/ChangeLog index 1a1f937c6bb..367eb53f7e7 100644 --- a/libgfortran/ChangeLog +++ b/libgfortran/ChangeLog @@ -1,3 +1,7 @@ +2014-11-25 Uros Bizjak <ubizjak@gmail.com> + + * intrinsics/env.c (getenv): Remove unused variable res_len. + 2014-11-24 John David Anglin <danglin@gcc.gnu.org> * configure.ac: Guard include of <ieeefp.h>. diff --git a/libgfortran/intrinsics/env.c b/libgfortran/intrinsics/env.c index ffdc54ac42f..48ae43ca5c9 100644 --- a/libgfortran/intrinsics/env.c +++ b/libgfortran/intrinsics/env.c @@ -42,7 +42,6 @@ PREFIX(getenv) (char * name, char * value, gfc_charlen_type name_len, { char *name_nt; char *res = NULL; - int res_len; if (name == NULL || value == NULL) runtime_error ("Both arguments to getenv are mandatory."); |