diff options
author | Stephen Hemminger <stephen.hemminger@vyatta.com> | 2008-05-28 09:50:36 -0700 |
---|---|---|
committer | Stephen Hemminger <stephen.hemminger@vyatta.com> | 2008-05-28 09:50:36 -0700 |
commit | 82e1d7bc0324c5b3afed465c0746d37f7fc1b13b (patch) | |
tree | 4d444851c1900201108031862f510be9e13a9c86 /zebra/irdp_packet.c | |
parent | 11a1fd54a7246ae4afc634445f3bde06cdc52892 (diff) | |
download | quagga-82e1d7bc0324c5b3afed465c0746d37f7fc1b13b.tar.bz2 quagga-82e1d7bc0324c5b3afed465c0746d37f7fc1b13b.tar.xz |
Fix compiler warnings
To eliminate compiler warnings
* comment out unused code
* fix printf formats
* remove always true expression
* initialize variables
Diffstat (limited to 'zebra/irdp_packet.c')
-rw-r--r-- | zebra/irdp_packet.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/zebra/irdp_packet.c b/zebra/irdp_packet.c index 3c5f1559..ae121ea1 100644 --- a/zebra/irdp_packet.c +++ b/zebra/irdp_packet.c @@ -231,7 +231,7 @@ int irdp_read_raw(struct thread *r) struct zebra_if *zi; struct irdp_interface *irdp; char buf[IRDP_RX_BUF]; - int ret, ifindex; + int ret, ifindex = 0; int irdp_sock = THREAD_FD (r); t_irdp_raw = thread_add_read (zebrad.master, irdp_read_raw, NULL, irdp_sock); |