Description of problem: Version-Release number of selected component (if applicable): How reproducible: Steps to Reproduce: 1. 2. 3. Actual results: Expected results: Additional info:
I just tried to compile package quagga-0.96.3-1 from Fedora. The compiler said 1. ospf_opaque.c(1955): remark #592: variable "ospf" is used before its value is set The source code is struct ospf *ospf = ospf; Badly broken code. I'm not sure what the fix is for this. 2. ospf_opaque.c(2034): remark #592: variable "ospf" is used before its value is set Duplicate. 3. ospf_vty.c(6048): remark #592: variable "nexthop" is used before its value is set The source code is ospf_external_lsa_flush (ospf, DEFAULT_ROUTE, &p, 0, nexthop); 4. ospf6_abr.c(434): remark #592: variable "target" is used before its value is set The source code is if (target.path.cost >= LS_INFINITY || target.path.cost_e2 >= LS_INFINITY) { Suggest init target before first use. 5. vtysh.c(72): warning #140: too many arguments in function call The source code is return vtysh_end (vty); but int vtysh_end () {
I just sent a patch upstream to quiet the remaining warnings in quagga-0.97.3 (actually the latest snapshot). With luck, they'll be fixed in 0.97.4.
In MODIFIED for a long time. Closing.