* proc-api.c (write_with_trace): Initialize local variable to

silence compiler warning.
This commit is contained in:
Mark Kettenis 2004-02-06 22:49:58 +00:00
parent f80bda8efd
commit 1e52e2eb2a
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2004-02-06 Mark Kettenis <kettenis@gnu.org>
* proc-api.c (write_with_trace): Initialize local variable to
silence compiler warning.
2004-02-06 Andrew Cagney <cagney@redhat.com>
* tui/tui-source.h: Do not include "defs.h".

View File

@ -459,7 +459,7 @@ static off_t lseek_offset;
int
write_with_trace (int fd, void *varg, size_t len, char *file, int line)
{
int i;
int i = ARRAY_SIZE (rw_table) - 1;
int ret;
procfs_ctl_t *arg = (procfs_ctl_t *) varg;