From: Uros Bizjak Date: Tue, 25 Nov 2014 18:29:42 +0000 (+0100) Subject: env.c (getenv): Remove unused variable res_len. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=cbe5b9605f79886585909f9b256a0acb3f683985;p=gcc.git env.c (getenv): Remove unused variable res_len. * intrinsics/env.c (getenv): Remove unused variable res_len. From-SVN: r218057 --- 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 + + * intrinsics/env.c (getenv): Remove unused variable res_len. + 2014-11-24 John David Anglin * configure.ac: Guard include of . 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.");