aboutsummaryrefslogtreecommitdiffstats
path: root/smime/lib
diff options
context:
space:
mode:
authorMatthew Barnes <mbarnes@redhat.com>2009-05-17 00:11:55 +0800
committerMatthew Barnes <mbarnes@redhat.com>2009-05-21 10:52:36 +0800
commita538f3f3100dbdbae1ea172ae3b8344e650d529d (patch)
treef1f8b15c56dbe92e46352853373382af9bf92de0 /smime/lib
parentd8fd55f9ec0e70a0d5c8529ea989f8c272d0c443 (diff)
downloadgsoc2013-evolution-a538f3f3100dbdbae1ea172ae3b8344e650d529d.tar.gz
gsoc2013-evolution-a538f3f3100dbdbae1ea172ae3b8344e650d529d.tar.zst
gsoc2013-evolution-a538f3f3100dbdbae1ea172ae3b8344e650d529d.zip
Fix several types of pedantic compiler warnings.
Diffstat (limited to 'smime/lib')
-rw-r--r--smime/lib/e-asn1-object.h2
-rw-r--r--smime/lib/e-cert.c4
-rw-r--r--smime/lib/e-pkcs12.c2
3 files changed, 4 insertions, 4 deletions
diff --git a/smime/lib/e-asn1-object.h b/smime/lib/e-asn1-object.h
index b761730ec3..d0cdb05d27 100644
--- a/smime/lib/e-asn1-object.h
+++ b/smime/lib/e-asn1-object.h
@@ -65,7 +65,7 @@ enum {
E_ASN1_OBJECT_TYPE_HIGH_TAG_NUMBER = 31,
E_ASN1_OBJECT_TYPE_CONTEXT_SPECIFIC = 32,
E_ASN1_OBJECT_TYPE_APPLICATION = 33,
- E_ASN1_OBJECT_TYPE_PRIVATE = 34,
+ E_ASN1_OBJECT_TYPE_PRIVATE = 34
};
struct _EASN1Object {
diff --git a/smime/lib/e-cert.c b/smime/lib/e-cert.c
index cbede0a5fe..2146fc3d32 100644
--- a/smime/lib/e-cert.c
+++ b/smime/lib/e-cert.c
@@ -1225,10 +1225,10 @@ e_cert_get_asn1_struct (ECert *cert)
gboolean
e_cert_mark_for_deletion (ECert *cert)
{
- // nsNSSShutDownPreventionLock locker;
+ /* nsNSSShutDownPreventionLock locker; */
#if 0
- // make sure user is logged in to the token
+ /* make sure user is logged in to the token */
nsCOMPtr<nsIInterfaceRequestor> ctx = new PipUIContext();
#endif
diff --git a/smime/lib/e-pkcs12.c b/smime/lib/e-pkcs12.c
index 98f16d6e75..759a7fd1d6 100644
--- a/smime/lib/e-pkcs12.c
+++ b/smime/lib/e-pkcs12.c
@@ -271,7 +271,7 @@ import_from_file_helper (EPKCS12 *pkcs12, PK11SlotInfo *slot,
#ifdef notyet
/* XXX we need this to check the gerror */
if (NS_ERROR_ABORT == rv) {
- // inputToDecoder indicated a NSS error
+ /* inputToDecoder indicated a NSS error */
srv = SECFailure;
}
#else