diff options
author | Matthew Barnes <mbarnes@redhat.com> | 2010-01-15 23:16:25 +0800 |
---|---|---|
committer | Matthew Barnes <mbarnes@redhat.com> | 2010-01-16 10:50:05 +0800 |
commit | cae22334fa6bc395ccc421b09e0af94c89297c41 (patch) | |
tree | 84881f467c0448db044d8bb3533e044a7152bb2b /smime | |
parent | d37784ed3db20fd74ea4b8d9fdfe58518370cea2 (diff) | |
download | gsoc2013-evolution-cae22334fa6bc395ccc421b09e0af94c89297c41.tar.gz gsoc2013-evolution-cae22334fa6bc395ccc421b09e0af94c89297c41.tar.zst gsoc2013-evolution-cae22334fa6bc395ccc421b09e0af94c89297c41.zip |
Remove dead assignments found by clang.
Diffstat (limited to 'smime')
-rw-r--r-- | smime/lib/e-cert-db.c | 2 | ||||
-rw-r--r-- | smime/lib/e-cert.c | 2 | ||||
-rw-r--r-- | smime/lib/e-pkcs12.c | 4 |
3 files changed, 3 insertions, 5 deletions
diff --git a/smime/lib/e-cert-db.c b/smime/lib/e-cert-db.c index faae2182c7..13185db3eb 100644 --- a/smime/lib/e-cert-db.c +++ b/smime/lib/e-cert-db.c @@ -913,7 +913,7 @@ e_cert_db_import_email_cert (ECertDB *certdb, rv = FALSE; goto loser; } - srv = CERT_SaveSMimeProfile(cert, NULL, NULL); + CERT_SaveSMimeProfile(cert, NULL, NULL); PORT_Free(rawCerts); loser: if (cert) diff --git a/smime/lib/e-cert.c b/smime/lib/e-cert.c index 1b16d238a8..adf790af7e 100644 --- a/smime/lib/e-cert.c +++ b/smime/lib/e-cert.c @@ -990,8 +990,6 @@ process_name (CERTName *name, gchar **value) rdns = name->rdns; - lastRdn = rdns; - /* find last RDN */ lastRdn = rdns; while (*lastRdn) lastRdn++; diff --git a/smime/lib/e-pkcs12.c b/smime/lib/e-pkcs12.c index 3a2122bb0f..af8aedae9d 100644 --- a/smime/lib/e-pkcs12.c +++ b/smime/lib/e-pkcs12.c @@ -222,8 +222,8 @@ prompt_for_password (gchar *title, gchar *prompt, SECItem *pwd) *outptr++ = ((gchar *) &c)[1]; } - *outptr++ = 0; - *outptr++ = 0; + outptr[0] = 0; + outptr[1] = 0; memset (passwd, 0, strlen (passwd)); g_free (passwd); |