summaryrefslogtreecommitdiffstats
path: root/isys/isys.c
diff options
context:
space:
mode:
authorDavid Cantrell <dcantrell@redhat.com>2008-01-30 17:10:23 -1000
committerDavid Cantrell <dcantrell@redhat.com>2008-01-30 17:10:23 -1000
commit3af1bcd4addedcfdcce6157fc6a9223a09b83409 (patch)
treecf6f1b7a40baf8359befb1aa13374fa81ce8851d /isys/isys.c
parent5785e22dcbe7926cef31e7a1cc65fa82b51b30bb (diff)
downloadanaconda-3af1bcd4addedcfdcce6157fc6a9223a09b83409.tar.gz
anaconda-3af1bcd4addedcfdcce6157fc6a9223a09b83409.tar.xz
anaconda-3af1bcd4addedcfdcce6157fc6a9223a09b83409.zip
Initialize int here to fix compiler warnings.
Diffstat (limited to 'isys/isys.c')
-rw-r--r--isys/isys.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/isys/isys.c b/isys/isys.c
index 9395f0f4c..ba1ddb62f 100644
--- a/isys/isys.c
+++ b/isys/isys.c
@@ -519,7 +519,7 @@ void init_isys(void) {
}
static PyObject * doConfigNetDevice(PyObject * s, PyObject * args) {
- int i;
+ int i = 0;
char *dev, *ipv4, *netmask, *ipv6, *prefix, *gateway;
struct pumpNetIntf cfg;
struct in_addr addr, nm, nw;