summaryrefslogtreecommitdiff
path: root/libiberty/setenv.c
diff options
context:
space:
mode:
authorghazi <ghazi@138bc75d-0d04-0410-961f-82ee72b054a4>2000-07-21 20:08:36 +0000
committerghazi <ghazi@138bc75d-0d04-0410-961f-82ee72b054a4>2000-07-21 20:08:36 +0000
commitbb37062f41610518ad294049736488e122906ea6 (patch)
tree9c6b2d3c7e513a58a41d0e61372b5492764fb4e3 /libiberty/setenv.c
parentb37aff25e4769531da28908e404de60423705b45 (diff)
downloadgcc-bb37062f41610518ad294049736488e122906ea6.tar.gz
Warning fixes:
* cp-demangle.c (cp_demangle_type): Wrap in IN_LIBGCC2. * setenv.c (setenv): Initialize variable `ep'. * sigsetmask.c (abort): Prototype. * vasprintf.c: Include config.h. Check ANSI_PROTOTYPES, not __STDC__ for stdarg.h include. (int_vasprintf): Prototype. (checkit): Prototype. Use VPARAMS/ANSI_PROTOTYPES/VA_START in definition. Cast `global_total_width' in comparison. (main): Prototype. Return a value. * vfork.c (fork): Prototype. * xexit.c: Include config.h. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@35178 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libiberty/setenv.c')
-rw-r--r--libiberty/setenv.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libiberty/setenv.c b/libiberty/setenv.c
index a90c83ad78e..f025716e7f5 100644
--- a/libiberty/setenv.c
+++ b/libiberty/setenv.c
@@ -63,7 +63,7 @@ setenv (name, value, replace)
const char *value;
int replace;
{
- register char **ep;
+ register char **ep = 0;
register size_t size;
const size_t namelen = strlen (name);
const size_t vallen = strlen (value) + 1;