diff options
author | Guy Harris <guy@alum.mit.edu> | 2002-05-26 21:32:39 +0000 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2002-05-26 21:32:39 +0000 |
commit | 31fe776a02f960941fe3c17ece82b46a67074b99 (patch) | |
tree | ee1f1f08f6b2ea5ce759a080c604b72bd4aa2c21 /wiretap/snoop.c | |
parent | e86f7667f872d2a747cdc05827aa713281890d6d (diff) | |
download | wireshark-31fe776a02f960941fe3c17ece82b46a67074b99.tar.gz |
Get rid of an unused variable.
svn path=/trunk/; revision=5571
Diffstat (limited to 'wiretap/snoop.c')
-rw-r--r-- | wiretap/snoop.c | 4 |
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; |