From: alex Date: Wed, 17 Aug 2005 15:38:31 +0000 (+0000) Subject: - initialize namesize var to fix gcc's warning X-Git-Tag: 1.4.10~708 X-Git-Url: https://git.whamcloud.com/?a=commitdiff_plain;h=d8c24a9b4fab6ae51d37455b4ddd5e5191643f0c;p=fs%2Flustre-release.git - initialize namesize var to fix gcc's warning --- 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;