From ef3da124b5d4d170819b4253525e5e93ecb2e85b Mon Sep 17 00:00:00 2001 From: Bob Glossman Date: Wed, 27 Mar 2013 07:38:04 -0700 Subject: [PATCH] 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 --- lustre/mdt/mdt_handler.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 1.8.3.1