diff options
author | Jim Meyering <meyering@redhat.com> | 2009-09-03 14:09:49 +0200 |
---|---|---|
committer | Jim Meyering <meyering@redhat.com> | 2009-09-03 18:04:24 +0200 |
commit | 68e1394d4363414400cf815227fcd678cd86cca3 (patch) | |
tree | fb59c34ce78f94ff3209be30803a8998499096ae /generator.py | |
parent | 11bca8e4d912f360926c29981b6faf9dba45bf86 (diff) | |
download | libvirt-python-v6-68e1394d4363414400cf815227fcd678cd86cca3.tar.gz libvirt-python-v6-68e1394d4363414400cf815227fcd678cd86cca3.tar.xz libvirt-python-v6-68e1394d4363414400cf815227fcd678cd86cca3.zip |
python: let libvirt_virConnectDomainEventCallback indicate successsubmission-5
* python/libvir.c (libvirt_virConnectDomainEventCallback): Return 0
when successful, rather than always returning -1.
clang flagged this function for its dead-store of "ret=0".
Once "ret" was set to 0, it was never used, and
the function would always return -1.
Diffstat (limited to 'generator.py')
0 files changed, 0 insertions, 0 deletions