/pidgin/main: 14f3f0bb4fe6: Remove warning: control reaches end ...

Ankit Vani a at nevitus.org
Mon Apr 7 10:44:27 EDT 2014


Changeset: 14f3f0bb4fe6abe9344540dad5d388c58fed4c51
Author:	 Ankit Vani <a at nevitus.org>
Date:	 2014-04-07 20:12 +0530
Branch:	 default
URL: https://hg.pidgin.im/pidgin/main/rev/14f3f0bb4fe6

Description:

Remove warning: control reaches end of non-void function

diffstat:

 libpurple/ciphers/aescipher.c |  2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diffs (12 lines):

diff --git a/libpurple/ciphers/aescipher.c b/libpurple/ciphers/aescipher.c
--- a/libpurple/ciphers/aescipher.c
+++ b/libpurple/ciphers/aescipher.c
@@ -445,6 +445,8 @@ purple_aes_cipher_nss_batch_mode(PurpleC
 		case PURPLE_CIPHER_BATCH_MODE_ECB:
 			return CKM_AES_ECB;
 	}
+
+	return CKM_AES_CBC;
 }
 
 static gboolean



More information about the Commits mailing list