Remove unused variable

This commit is contained in:
julien.pierre.bugs%sun.com 2004-10-07 04:14:18 +00:00
parent e5604f6a11
commit ff3b02711f
4 changed files with 2 additions and 6 deletions

View File

@ -90,7 +90,6 @@ int main(int argc, char **argv)
PLOptStatus optstatus;
PRUint32 flags = 0;
PRBool useCommandLinePassword = PR_FALSE;
Error ret;
SECStatus rv;
char * dbString = NULL;

View File

@ -176,7 +176,6 @@ int
main(int argc, char **argv)
{
char *progName;
int opt;
FILE *inFile, *outFile;
char *hashName;
SECOidData *hashOID;

View File

@ -37,7 +37,7 @@
/*
* p7env -- A command to create a pkcs7 enveloped data.
*
* $Id: p7env.c,v 1.6 2004/04/25 15:02:49 gerv%gerv.net Exp $
* $Id: p7env.c,v 1.7 2004/10/07 04:12:47 julien.pierre.bugs%sun.com Exp $
*/
#include "nspr.h"
@ -168,7 +168,6 @@ main(int argc, char **argv)
FILE *inFile, *outFile;
char *certName;
CERTCertDBHandle *certHandle;
CERTCertificate *cert;
struct recipient *recipients, *rcpt;
PLOptState *optstate;
PLOptStatus status;

View File

@ -38,7 +38,7 @@
* p7sign -- A command to create a *detached* pkcs7 signature (over a given
* input file).
*
* $Id: p7sign.c,v 1.9 2004/04/25 15:02:49 gerv%gerv.net Exp $
* $Id: p7sign.c,v 1.10 2004/10/07 04:10:52 julien.pierre.bugs%sun.com Exp $
*/
#include "nspr.h"
@ -131,7 +131,6 @@ static int
SignFile(FILE *outFile, PRFileDesc *inFile, CERTCertificate *cert,
PRBool encapsulated)
{
int nb;
char digestdata[32];
unsigned int len;
SECItem digest, data2sign;