env.c (getenv): Remove unused variable res_len.

* intrinsics/env.c (getenv): Remove unused variable res_len.

From-SVN: r218057
This commit is contained in:
Uros Bizjak 2014-11-25 19:29:42 +01:00 committed by Uros Bizjak
parent 375132991d
commit cbe5b9605f
2 changed files with 4 additions and 1 deletions

View File

@ -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>.

View File

@ -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.");