[Libsysio-commit] HEAD: libsysio/tests test_list.c
Brought to you by:
lward
From: Ruth K. <rk...@us...> - 2007-11-16 20:58:14
|
Update of /cvsroot/libsysio/libsysio/tests In directory sc8-pr-cvs6.sourceforge.net:/tmp/cvs-serv22463/tests Modified Files: test_list.c Log Message: 2 uninitialized vars noticed by valgrind Index: test_list.c =================================================================== RCS file: /cvsroot/libsysio/libsysio/tests/test_list.c,v retrieving revision 1.13 retrieving revision 1.14 diff -u -w -b -B -p -r1.13 -r1.14 --- test_list.c 28 Mar 2007 21:27:12 -0000 1.13 +++ test_list.c 16 Nov 2007 20:58:08 -0000 1.14 @@ -148,7 +148,7 @@ listit(const char *path) int fd; size_t n; struct dirent *buf, *dp; - off_t base; + off_t base = 0; ssize_t cc; fd = SYSIO_INTERFACE_NAME(open)(path, O_RDONLY); |