From b3e94ac8c2b6f1f600807ec70a850fceeea12851 Mon Sep 17 00:00:00 2001 From: nathan Date: Fri, 31 Aug 2007 17:50:13 +0000 Subject: [PATCH] fix warning --- lustre/lov/lov_qos.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lustre/lov/lov_qos.c b/lustre/lov/lov_qos.c index 8f89e0d..cb102eb 100644 --- a/lustre/lov/lov_qos.c +++ b/lustre/lov/lov_qos.c @@ -829,7 +829,7 @@ int qos_prep_create(struct obd_export *exp, struct lov_request_set *set) struct obd_trans_info *oti = set->set_oti; int i, stripes, rc = 0, newea = 0; int flag = LOV_USES_ASSIGNED_STRIPE; - int *idx_arr, idx_cnt = 0; + int *idx_arr = NULL, idx_cnt = 0; ENTRY; LASSERT(src_oa->o_valid & OBD_MD_FLID); -- 1.8.3.1