Whamcloud - gitweb
- just to avoid gcc warning
authoralex <alex>
Wed, 28 Jul 2004 21:25:47 +0000 (21:25 +0000)
committeralex <alex>
Wed, 28 Jul 2004 21:25:47 +0000 (21:25 +0000)
lustre/lvfs/llog_lvfs.c

index 3b1b548..17a3b62 100644 (file)
@@ -636,7 +636,7 @@ llog_object_create_alone(struct llog_ctxt *ctxt, struct llog_logid *lgh_id)
 static struct file *
 llog_object_create_generic(struct llog_ctxt *ctxt, struct llog_logid *lgh_id)
 {
-        struct file *filp;
+        struct file *filp = NULL;
         struct dentry *dchild;
         struct obd_device *obd;
         struct obdo *oa = NULL;