aboutsummaryrefslogtreecommitdiffstats
path: root/wiretap/snoop.c
diff options
context:
space:
mode:
authorguy <guy@f5534014-38df-0310-8fa8-9805f1628bb7>2002-05-26 21:32:39 +0000
committerguy <guy@f5534014-38df-0310-8fa8-9805f1628bb7>2002-05-26 21:32:39 +0000
commitc1cdd0c2b13ef7d7d272ec5756068d764320d336 (patch)
treeee1f1f08f6b2ea5ce759a080c604b72bd4aa2c21 /wiretap/snoop.c
parent969898122283be7968d73474725baf623570f934 (diff)
Get rid of an unused variable.
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@5571 f5534014-38df-0310-8fa8-9805f1628bb7
Diffstat (limited to 'wiretap/snoop.c')
-rw-r--r--wiretap/snoop.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/wiretap/snoop.c b/wiretap/snoop.c
index 5c989cad37..492548cb6c 100644
--- a/wiretap/snoop.c
+++ b/wiretap/snoop.c
@@ -1,6 +1,6 @@
/* snoop.c
*
- * $Id: snoop.c,v 1.50 2002/05/23 08:17:31 guy Exp $
+ * $Id: snoop.c,v 1.51 2002/05/26 21:32:39 guy Exp $
*
* Wiretap Library
* Copyright (c) 1998 by Gilbert Ramirez <gram@alumni.rice.edu>
@@ -427,8 +427,6 @@ static gboolean
snoop_seek_read(wtap *wth, long seek_off,
union wtap_pseudo_header *pseudo_header, u_char *pd, int length, int *err)
{
- gboolean ret;
-
if (file_seek(wth->random_fh, seek_off, SEEK_SET) == -1) {
*err = file_error(wth->random_fh);
return FALSE;