[Pvfs2-cvs] commit by slang in pvfs2/src/common/misc: str-utils.c
CVS commit program
cvs at parl.clemson.edu
Wed Dec 13 12:09:24 EST 2006
Update of /projects/cvsroot/pvfs2/src/common/misc
In directory parlweb1:/tmp/cvs-serv18995/src/common/misc
Modified Files:
Tag: pvfs-2-6-branch
str-utils.c
Log Message:
quiet some build warnings
Index: str-utils.c
===================================================================
RCS file: /projects/cvsroot/pvfs2/src/common/misc/str-utils.c,v
diff -p -u -r1.19 -r1.19.10.1
--- str-utils.c 16 Sep 2006 21:47:31 -0000 1.19
+++ str-utils.c 13 Dec 2006 17:09:24 -0000 1.19.10.1
@@ -277,7 +277,7 @@ int PINT_get_path_element(
{
int count = -1;
char *segp = (char *)0;
- void *segstate;
+ void *segstate = NULL;
char local_pathname[PVFS_NAME_MAX] = {0};
strncpy(local_pathname,pathname,PVFS_NAME_MAX);
More information about the Pvfs2-cvs
mailing list