* proc-api.c (write_with_trace): Initialize local variable to
silence compiler warning.
This commit is contained in:
parent
f80bda8efd
commit
1e52e2eb2a
2 changed files with 6 additions and 1 deletions
|
@ -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>
|
2004-02-06 Andrew Cagney <cagney@redhat.com>
|
||||||
|
|
||||||
* tui/tui-source.h: Do not include "defs.h".
|
* tui/tui-source.h: Do not include "defs.h".
|
||||||
|
|
|
@ -459,7 +459,7 @@ static off_t lseek_offset;
|
||||||
int
|
int
|
||||||
write_with_trace (int fd, void *varg, size_t len, char *file, int line)
|
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;
|
int ret;
|
||||||
procfs_ctl_t *arg = (procfs_ctl_t *) varg;
|
procfs_ctl_t *arg = (procfs_ctl_t *) varg;
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue