mirror of git://gcc.gnu.org/git/gcc.git
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:
parent
375132991d
commit
cbe5b9605f
|
|
@ -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>
|
2014-11-24 John David Anglin <danglin@gcc.gnu.org>
|
||||||
|
|
||||||
* configure.ac: Guard include of <ieeefp.h>.
|
* configure.ac: Guard include of <ieeefp.h>.
|
||||||
|
|
|
||||||
|
|
@ -42,7 +42,6 @@ PREFIX(getenv) (char * name, char * value, gfc_charlen_type name_len,
|
||||||
{
|
{
|
||||||
char *name_nt;
|
char *name_nt;
|
||||||
char *res = NULL;
|
char *res = NULL;
|
||||||
int res_len;
|
|
||||||
|
|
||||||
if (name == NULL || value == NULL)
|
if (name == NULL || value == NULL)
|
||||||
runtime_error ("Both arguments to getenv are mandatory.");
|
runtime_error ("Both arguments to getenv are mandatory.");
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue