aboutsummaryrefslogtreecommitdiffstats
path: root/smime
diff options
context:
space:
mode:
authorMatthew Barnes <mbarnes@redhat.com>2009-05-17 00:11:55 +0800
committerMatthew Barnes <mbarnes@redhat.com>2009-05-17 00:11:55 +0800
commite4fa8fe10408c4c370e1e11e4bb2d7745f50aceb (patch)
tree319f9a8d7601f7f0d028e6942aced54c439b8693 /smime
parentea3e4f239a529716452159d5deac20cd9a38c832 (diff)
downloadgsoc2013-evolution-e4fa8fe10408c4c370e1e11e4bb2d7745f50aceb.tar.gz
gsoc2013-evolution-e4fa8fe10408c4c370e1e11e4bb2d7745f50aceb.tar.zst
gsoc2013-evolution-e4fa8fe10408c4c370e1e11e4bb2d7745f50aceb.zip
Fix several types of pedantic compiler warnings.
Diffstat (limited to 'smime')
-rw-r--r--smime/gui/e-cert-selector.h2
-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
4 files changed, 5 insertions, 5 deletions
diff --git a/smime/gui/e-cert-selector.h b/smime/gui/e-cert-selector.h
index 130d90920c..542a211745 100644
--- a/smime/gui/e-cert-selector.h
+++ b/smime/gui/e-cert-selector.h
@@ -54,7 +54,7 @@ struct _ECertSelectorClass {
enum _e_cert_selector_type {
E_CERT_SELECTOR_SIGNER,
- E_CERT_SELECTOR_RECIPIENT,
+ E_CERT_SELECTOR_RECIPIENT
};
GType e_cert_selector_get_type (void);
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