mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-08-26 18:41:17 +00:00
Remove bogus test code accidentally left in previous commit
This commit is contained in:
parent
724d0df7e5
commit
7573ce3591
@ -1,3 +1,8 @@
|
|||||||
|
Tue Apr 29 09:46:00 EST 2008 Daniel P. Berrange <berrange@redhat.com>
|
||||||
|
|
||||||
|
* src/hash.c: remove bogus test code accidentally added in
|
||||||
|
previous commit
|
||||||
|
|
||||||
Tue Apr 29 15:20:12 CEST 2008 Jim Meyering <meyering@redhat.com>
|
Tue Apr 29 15:20:12 CEST 2008 Jim Meyering <meyering@redhat.com>
|
||||||
|
|
||||||
Avoid "make syntax-check" failures.
|
Avoid "make syntax-check" failures.
|
||||||
|
@ -821,8 +821,7 @@ __virGetDomain(virConnectPtr conn, const char *name, const unsigned char *uuid)
|
|||||||
ret = (virDomainPtr) virHashLookup(conn->domains, name);
|
ret = (virDomainPtr) virHashLookup(conn->domains, name);
|
||||||
/* TODO check the UUID */
|
/* TODO check the UUID */
|
||||||
if (ret == NULL) {
|
if (ret == NULL) {
|
||||||
VIR_ALLOC(ret);
|
if (VIR_ALLOC(ret) < 0) {
|
||||||
if (0) {
|
|
||||||
virHashError(conn, VIR_ERR_NO_MEMORY, _("allocating domain"));
|
virHashError(conn, VIR_ERR_NO_MEMORY, _("allocating domain"));
|
||||||
goto error;
|
goto error;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user