btrfs-progs: init variables which are checked later in btrfs-property
authorGui Hecheng <guihc.fnst@cn.fujitsu.com>
Thu, 31 Jul 2014 03:23:42 +0000 (11:23 +0800)
committerDavid Sterba <dsterba@suse.cz>
Fri, 22 Aug 2014 13:07:03 +0000 (15:07 +0200)
commitd3aa724646a68f814a70f149def9c563fdf252de
tree14cbc3e8db6d9c6d885ce827a3c7fd9395bc7387
parent515f8fa14a7682a5d5b399c6aa1d97230c72428a
btrfs-progs: init variables which are checked later in btrfs-property

The local variable @object etc. in btrfs-property get/set functions
are to be checked whether to be NULL or not, but the @parse_args()
don't guarantee to assign a value to it, so it is better to init
it to NULL.

Signed-off-by: Gui Hecheng <guihc.fnst@cn.fujitsu.com>
Signed-off-by: David Sterba <dsterba@suse.cz>
cmds-property.c