diff options
author | Werner Koch <wk@gnupg.org> | 2008-10-20 15:53:23 +0200 |
---|---|---|
committer | Werner Koch <wk@gnupg.org> | 2008-10-20 15:53:23 +0200 |
commit | 0a5f7424660e404e5fd0361b9331d154acf01d6c (patch) | |
tree | b84fb5a994045e12eb326441d8c924094bd915cd /tools/gpgsplit.c | |
parent | Fix a bug in estream_snprintf. Found by a failed t-gettime under Windows. (diff) | |
download | gnupg2-0a5f7424660e404e5fd0361b9331d154acf01d6c.tar.xz gnupg2-0a5f7424660e404e5fd0361b9331d154acf01d6c.zip |
Marked all unused args on non-W32 platforms.
Diffstat (limited to 'tools/gpgsplit.c')
-rw-r--r-- | tools/gpgsplit.c | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/tools/gpgsplit.c b/tools/gpgsplit.c index bb8ea0a0c..0d7faa061 100644 --- a/tools/gpgsplit.c +++ b/tools/gpgsplit.c @@ -526,8 +526,8 @@ handle_bzip2(int algo,FILE *fpin,FILE *fpout) /* hdr must point to a buffer large enough to hold all header bytes */ static int -write_part ( const char *fname, FILE *fpin, unsigned long pktlen, - int pkttype, int partial, unsigned char *hdr, size_t hdrlen) +write_part (FILE *fpin, unsigned long pktlen, + int pkttype, int partial, unsigned char *hdr, size_t hdrlen) { FILE *fpout; int c, first; @@ -770,7 +770,7 @@ write_part ( const char *fname, FILE *fpin, unsigned long pktlen, static int -do_split (const char *fname, FILE *fp) +do_split (FILE *fp) { int c, ctb, pkttype; unsigned long pktlen = 0; @@ -848,8 +848,7 @@ do_split (const char *fname, FILE *fp) } } - return write_part (fname, fp, pktlen, pkttype, partial, - header, header_idx); + return write_part (fp, pktlen, pkttype, partial, header, header_idx); } @@ -870,7 +869,7 @@ split_packets (const char *fname) return; } - while ( !(rc = do_split (fname, fp)) ) + while ( !(rc = do_split (fp)) ) ; if ( rc > 0 ) ; /* error already handled */ |