diff options
| author | Richard W.M. Jones <rjones@redhat.com> | 2012-03-08 10:51:02 +0000 |
|---|---|---|
| committer | Richard W.M. Jones <rjones@redhat.com> | 2012-03-08 18:14:33 +0000 |
| commit | e60890429f6c62bc47395385322602f1642c972a (patch) | |
| tree | 4b4f1d924b31cb1dd7d1721d944853cba69dc828 /python/examples/guestfs-python.pod | |
| parent | a9552aef9e115ec45191cf305d9a7d78cc678e9a (diff) | |
| download | libguestfs-e60890429f6c62bc47395385322602f1642c972a.tar.gz libguestfs-e60890429f6c62bc47395385322602f1642c972a.tar.xz libguestfs-e60890429f6c62bc47395385322602f1642c972a.zip | |
Dead code: 'lvs' cannot be true here (found by Coverity).
Remove dead code; however only comment it out since if we change the
preceeding code we may need this line again.
Error: DEADCODE:
/builddir/build/BUILD/libguestfs-1.16.5/src/listfs.c:107: dead_error_condition: On this path, the condition "lvs" cannot be true.
/builddir/build/BUILD/libguestfs-1.16.5/src/listfs.c:54: const: After this line, the value of "lvs" is equal to 0.
/builddir/build/BUILD/libguestfs-1.16.5/src/listfs.c:91: const: After this line, the value of "lvs" is equal to 0.
/builddir/build/BUILD/libguestfs-1.16.5/src/listfs.c:54: assignment: Assigning: "lvs" = "NULL".
/builddir/build/BUILD/libguestfs-1.16.5/src/listfs.c:91: new_values: Noticing condition "lvs == NULL".
/builddir/build/BUILD/libguestfs-1.16.5/src/listfs.c:107: dead_error_line: Execution cannot reach this statement "guestfs___free_string_list(...".
(cherry picked from commit 109d3ad34aac8d50a1c02437928a64d9bad9f1a6)
Diffstat (limited to 'python/examples/guestfs-python.pod')
0 files changed, 0 insertions, 0 deletions
