]> sourceware.org Git - lvm2.git/commitdiff
coverity: assigned variable not used and reassigned later
authorPeter Rajnoha <prajnoha@redhat.com>
Wed, 16 Oct 2013 13:06:43 +0000 (15:06 +0200)
committerPeter Rajnoha <prajnoha@redhat.com>
Wed, 16 Oct 2013 13:06:43 +0000 (15:06 +0200)
lib/metadata/lv_manip.c

index 8f09af78e0ab87e08ed2379036fd447471824b45..383bab1a9c56b8285b2db93964a1c152f721e9df 100644 (file)
@@ -89,7 +89,7 @@ static int _lv_is_on_pv(struct cmd_context *cmd,
        struct physical_volume *pv2;
        struct lv_segment *seg;
 
-       if (!lv || !(seg = first_seg(lv)))
+       if (!lv || !(first_seg(lv)))
                return_0;
 
        /*
This page took 0.04813 seconds and 5 git commands to generate.