From: Bob Glossman Date: Wed, 27 Mar 2013 14:38:04 +0000 (-0700) Subject: LU-3043 build: init local variable that breaks sles11sp2 build X-Git-Tag: 2.3.64~47 X-Git-Url: https://git.whamcloud.com/gitweb?a=commitdiff_plain;h=ef3da124b5d4d170819b4253525e5e93ecb2e85b;p=fs%2Flustre-release.git LU-3043 build: init local variable that breaks sles11sp2 build Fix a recently introduced build breakage by initing a local variable in new code. Signed-off-by: Bob Glossman Change-Id: I3c9c1a864e2b529b6a6e2578d0bfbfe2c920688c Reviewed-on: http://review.whamcloud.com/5854 Reviewed-by: James Simmons Tested-by: Hudson Tested-by: Maloo Reviewed-by: Bobi Jam Reviewed-by: Alex Zhuravlev --- diff --git a/lustre/mdt/mdt_handler.c b/lustre/mdt/mdt_handler.c index ccf86c1..0856f78 100644 --- a/lustre/mdt/mdt_handler.c +++ b/lustre/mdt/mdt_handler.c @@ -5548,7 +5548,7 @@ static int mdt_path_current(struct mdt_thread_info *info, char *ptr; int reclen; struct linkea_data ldata = { 0 }; - int rc; + int rc = 0; ENTRY; /* temp buffer for path element, the buffer will be finally freed