Ethereal-dev: Re: [Ethereal-dev] MSVC warning: packet-per.c(332) : warning C4700: Lokale Varia

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

From: ronnie sahlberg <ronniesahlberg@xxxxxxxxx>
Date: Tue, 12 Oct 2004 17:06:47 +1000
Oops

the entire
  if(!length){  
    /* there is no string at all, so dont do any byte alignment */
    byte_aligned=FALSE;
  }
should be moved down to just before the 
  if(byte_aligned){
    if(offset&0x07){
      offset=(offset&0xfffffff8)+8;
    }
  }
block.

Can you check in that change guy?


On Mon, 11 Oct 2004 23:58:47 -0700, Guy Harris <gharris@xxxxxxxxx> wrote:
> Should it be tested in the
> 
>        } else if(min_len!=max_len){
>                ...
>        }
> 
> section of code?
> 
> 
> 
> _______________________________________________
> Ethereal-dev mailing list
> Ethereal-dev@xxxxxxxxxxxx
> http://www.ethereal.com/mailman/listinfo/ethereal-dev
>