1
0
mirror of git://sourceware.org/git/lvm2.git synced 2025-03-10 16:58:47 +03:00

cleanup: use return_NULL

Function returns pointer, so use NULL.
This commit is contained in:
Zdenek Kabelac 2012-08-17 12:04:52 +02:00
parent c8ad1f3e3a
commit 14d2b5a13f

2
lib/cache/lvmetad.c vendored
View File

@ -189,7 +189,7 @@ struct volume_group *lvmetad_vg_lookup(struct cmd_context *cmd, const char *vgna
if (vgid) {
if (!id_write_format((const struct id*)vgid, uuid, sizeof(uuid)))
return_0;
return_NULL;
reply = daemon_send_simple(_lvmetad, "vg_lookup", "uuid = %s", uuid, NULL);
} else {
if (!vgname)