diff options
author | Mark Kettenis <kettenis@gnu.org> | 2004-02-06 22:49:58 +0000 |
---|---|---|
committer | Mark Kettenis <kettenis@gnu.org> | 2004-02-06 22:49:58 +0000 |
commit | 1e52e2eb2a1a3526ab2033025d81e6930b369136 (patch) | |
tree | 0414f50e1f99a4bac4291f4e5f8d146a6dcc2561 /gdb/proc-api.c | |
parent | f80bda8efddc42d85ad3c5830324afd3e6abd3a8 (diff) | |
download | gdb-1e52e2eb2a1a3526ab2033025d81e6930b369136.zip gdb-1e52e2eb2a1a3526ab2033025d81e6930b369136.tar.gz gdb-1e52e2eb2a1a3526ab2033025d81e6930b369136.tar.bz2 |
* proc-api.c (write_with_trace): Initialize local variable to
silence compiler warning.
Diffstat (limited to 'gdb/proc-api.c')
-rw-r--r-- | gdb/proc-api.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/proc-api.c b/gdb/proc-api.c index 1e4a2dc..e6d30ea 100644 --- a/gdb/proc-api.c +++ b/gdb/proc-api.c @@ -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; |