Ethereal-dev: Re: [Ethereal-dev] patch for packet-ipmi, avoid the compiler warnings

Note: This archive is from the project's previous web site, ethereal.com. This list is no longer active.

From: Guy Harris <gharris@xxxxxxxxx>
Date: Tue, 23 Nov 2004 19:56:15 -0800
Lane Hu wrote:

  The compiler warnings have been avoided in the version.

All except for

packet-ipmi.c:3073: warning: `FRUActivationPolicyMaskBit' might be used uninitialized in this function

The fix for that was easy - move the call that sets "FRUActivationPolicyMaskBit" outside the "if (tree)". (I hadn't noticed that one, as there were too many other warnings, so it got lost.)

I've made that fix, and checked your patch in.