diff options
author | Chris Lumens <clumens@redhat.com> | 2007-01-09 17:06:46 +0000 |
---|---|---|
committer | Chris Lumens <clumens@redhat.com> | 2007-01-09 17:06:46 +0000 |
commit | ae9af43f8309fea08645cb598d0a249fcad90bb7 (patch) | |
tree | 1827841bbecfe2fc01b2d2f9c20e5b9be96bdbfe /isys | |
parent | 1b9906793174d40a77c905876961f64f2a2aa660 (diff) | |
download | anaconda-ae9af43f8309fea08645cb598d0a249fcad90bb7.tar.gz anaconda-ae9af43f8309fea08645cb598d0a249fcad90bb7.tar.xz anaconda-ae9af43f8309fea08645cb598d0a249fcad90bb7.zip |
Don't care about the return value of asprintf.
Diffstat (limited to 'isys')
-rw-r--r-- | isys/isys.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/isys/isys.c b/isys/isys.c index 2cb9bcf7b..3eb7249fe 100644 --- a/isys/isys.c +++ b/isys/isys.c @@ -631,8 +631,10 @@ static PyObject * doDhcpNetDevice(PyObject * s, PyObject * args) { if (dhcpclass == NULL) { if (uname(&kv) == -1) dhcpclass = "anaconda"; - else - asprintf(&dhcpclass, "%s %s %s", kv.sysname,kv.release,kv.machine); + else { + int ret; + ret = asprintf(&dhcpclass, "%s %s %s", kv.sysname,kv.release,kv.machine); + } } memset(&cfg, '\0', sizeof(cfg)); |