Ethereal-cvs: [Ethereal-cvs] cvs commit: ethereal/wiretap lanalyzer.c

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

From: Guy Harris <guy@xxxxxxxxxxxxxxxxxxx>
Date: Mon, 16 Apr 2001 17:06:35 -0500 (CDT)
guy         2001/04/16 17:06:35 CDT

  Modified files:
    wiretap              lanalyzer.c 
  Log:
  GCC 2.95.1 on SPARC/Solaris, at least, is clever enough to figure out
  that the loop in "lanalyzer_open()" is an infinite loop, so the "return
  0;" at the end isn't necessary to suppress a compiler warning with that
  compiler - and Sun C not only figures it out, it warns that the
  "g_assert_not_reached()" and the "return 0;" are unreachable, so I'll
  take them out for now (and put them back if my older GCC at home still
  requires it to suppress warnings).
  
  Revision  Changes    Path
  1.28      +1 -5      ethereal/wiretap/lanalyzer.c