Wireshark-dev: [Wireshark-dev] Build fails on Linux packet-pcep.c

From: Anders Broman <anders.broman@xxxxxxxxxxxx>
Date: Thu, 25 Jul 2013 08:22:19 +0000

 

packet-pcep.c: In function \u2018dissect_subobj_label_control\u2019:

packet-pcep.c:992: error: too many arguments for format

packet-pcep.c: In function \u2018dissect_subobj_unnumb_interfaceID\u2019:

packet-pcep.c:1057: error: too many arguments for format

packet-pcep.c: In function \u2018dissect_pcep_iro_obj\u2019:

packet-pcep.c:1603: error: too many arguments for format

 

And:

packet-pcep.c: In function \u2018dissect_pcep_obj_tree\u2019:

packet-pcep.c:2163: error: \u2018pcep_object_tree\u2019 may be used uninitialized in this function

 

And:

packet-pcep.c: In function \u2018dissect_pcep_tlvs\u2019:

packet-pcep.c:776: error: \u2018of_code\u2019 may be used uninitialized in this function

 

patch enclosed if someone cares to apply it J

 

Regards

Anders

Attachment: packet-pcecp.diff
Description: packet-pcecp.diff