From d8c24a9b4fab6ae51d37455b4ddd5e5191643f0c Mon Sep 17 00:00:00 2001 From: alex Date: Wed, 17 Aug 2005 15:38:31 +0000 Subject: [PATCH] - initialize namesize var to fix gcc's warning --- lustre/mds/handler.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lustre/mds/handler.c b/lustre/mds/handler.c index 2f8c513..b72fd1d 100644 --- a/lustre/mds/handler.c +++ b/lustre/mds/handler.c @@ -1492,7 +1492,7 @@ static int mds_getattr_lock(struct ptlrpc_request *req, int offset, struct dentry *dparent = NULL, *dchild = NULL; struct lvfs_ucred uc = {NULL, NULL,}; struct lustre_handle parent_lockh[2] = {{0}, {0}}; - unsigned int namesize; + unsigned int namesize = 0; int rc = 0, cleanup_phase = 0, resent_req = 0, update_mode, reply_offset; char *name = NULL; ENTRY; -- 1.8.3.1