From: nathan Date: Fri, 31 Aug 2007 17:50:13 +0000 (+0000) Subject: fix warning X-Git-Tag: v1_8_0_110~1276 X-Git-Url: https://git.whamcloud.com/gitweb?a=commitdiff_plain;h=b3e94ac8c2b6f1f600807ec70a850fceeea12851;p=fs%2Flustre-release.git fix warning --- 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);