ANNOUNCEMENT: Live Wireshark University & Allegro Packets online APAC Wireshark Training Session
July 17th, 2024 | 10:00am-11:55am SGT (UTC+8) | Online

Wireshark-dev: Re: [Wireshark-dev] Build failure: k12.c:275:11: error: variable 'actual_len' se

From: Christopher Maynard <Christopher.Maynard@xxxxxxxxx>
Date: Sun, 17 Apr 2011 15:48:16 +0000 (UTC)
Kaul <mykaul@...> writes:

> k12.c: In function 'get_record':k12.c:275:11: error: variable 'actual_len' set
but not used [-Werror=unused-but-set-variable]cc1: all warnings being treated as
errors

As far as I can tell, actual_len is used after being assigned, so I'm not sure
why this warning is emitted.

You can probably get around this by re-running your configure script as,
"configure --disable-warnings-as-errors".