Ethereal-cvs: [Ethereal-cvs] cvs commit: ethereal tethereal.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: Tue, 16 Jul 2002 19:22:29 -0500 (CDT)
guy         2002/07/16 19:22:15 CDT

  Modified files:
    .                    tethereal.c 
  Log:
  Get rid of some "unused variable" and "unused static function" warnings,
  and some compile errors in Tethereal, when compiling without libpcap.
  
  If libpcap is missing (whether that's detected at compile time or, as on
  Windows, at run time), don't call any of the "capture_prefs" routines -
  the routine to create the capture preferences page wasn't called, so the
  other routines can try to refer to non-existent widgets and other items
  and crash.
  
  Get rid of the stub routines in "capture_prefs()" used when compiling
  without libpcap, as they're no longer called.
  
  Revision  Changes    Path
  1.149     +18 -4     ethereal/tethereal.c