diff options
author | Neal H. Walfield <[email protected]> | 2015-08-09 14:49:04 +0000 |
---|---|---|
committer | Neal H. Walfield <[email protected]> | 2015-08-20 12:16:15 +0000 |
commit | f05d60b3813a97e316a067680d7598b74621a522 (patch) | |
tree | c9df3034388df23a202697e5148b209b87eefa5c /common/iobuf.c | |
parent | common/iobuf.h: Replace further use of literals with symbolic constants. (diff) | |
download | gnupg-f05d60b3813a97e316a067680d7598b74621a522.tar.gz gnupg-f05d60b3813a97e316a067680d7598b74621a522.zip |
common/iobuf.c: Remove dead code (opaque).
* common/iobuf.h (struct iobuf_struct): Remove field opaque. Remove
all uses of it.
--
Signed-off-by: Neal H. Walfield <[email protected]>.
Diffstat (limited to 'common/iobuf.c')
-rw-r--r-- | common/iobuf.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/common/iobuf.c b/common/iobuf.c index 5e6624f20..2fdd9d4db 100644 --- a/common/iobuf.c +++ b/common/iobuf.c @@ -1,6 +1,7 @@ /* iobuf.c - File Handling for OpenPGP. * Copyright (C) 1998, 1999, 2000, 2001, 2003, 2004, 2006, 2007, 2008, * 2009, 2010, 2011 Free Software Foundation, Inc. + * Copyright (C) 2015 g10 Code GmbH * * This file is part of GnuPG. * @@ -1117,7 +1118,6 @@ iobuf_alloc (int use, size_t bufsize) a->d.size = bufsize; a->no = ++number; a->subno = 0; - a->opaque = NULL; a->real_fname = NULL; return a; } @@ -1666,7 +1666,6 @@ iobuf_push_filter2 (iobuf_t a, a->nofast &= ~1; /* make a link from the new stream to the original stream */ a->chain = b; - a->opaque = b->opaque; /* setup the function on the new stream */ a->filter = f; |