[evolution-data-server] Fix some compiler warnings



commit 0e69858c049dac62b2b4b933d00484b1a695686f
Author: Milan Crha <mcrha redhat com>
Date:   Fri Jan 8 12:37:46 2021 +0100

    Fix some compiler warnings

 src/addressbook/libebook-contacts/e-phone-number-private.cpp | 3 +++
 src/camel/camel-sasl-ntlm.c                                  | 2 +-
 2 files changed, 4 insertions(+), 1 deletion(-)
---
diff --git a/src/addressbook/libebook-contacts/e-phone-number-private.cpp 
b/src/addressbook/libebook-contacts/e-phone-number-private.cpp
index ec2fe164f..35e6f8567 100644
--- a/src/addressbook/libebook-contacts/e-phone-number-private.cpp
+++ b/src/addressbook/libebook-contacts/e-phone-number-private.cpp
@@ -234,6 +234,9 @@ _e_phone_number_cxx_get_country_source (const PhoneNumber &phone_number)
                case PhoneNumber::FROM_NUMBER_WITHOUT_PLUS_SIGN:
                case PhoneNumber::FROM_DEFAULT_COUNTRY:
                        break;
+
+               default:
+                       break;
        }
 
        return E_PHONE_NUMBER_COUNTRY_FROM_DEFAULT;
diff --git a/src/camel/camel-sasl-ntlm.c b/src/camel/camel-sasl-ntlm.c
index 32fa3a4a8..712652a3c 100644
--- a/src/camel/camel-sasl-ntlm.c
+++ b/src/camel/camel-sasl-ntlm.c
@@ -492,7 +492,7 @@ static guint32 Spbox[8][64] = {
 /* Encrypt or decrypt a block of data in ECB mode */
 static void
 des (guint32 ks[16][2],
-     guchar block[8])
+     guchar *block)
 {
        guint32 left, right, work;
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]