changeset 907:cdf5ab1278e9

imap4: Remove unused variable from imap4_in_capability_cmd() Flagged by gcc: # gcc --warning gcc (Debian 4.8.1-8) 4.8.1 Copyright (C) 2013 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. # make ... warning: variable ‘status’ set but not used [ -Wunused-but-set-variable] Signed-off-by: Simon Horman <horms@verge.net.au>
author Simon Horman <horms@verge.net.au>
date Wed, 07 Aug 2013 14:15:23 +0900
parents 794823108269
children a9b97b811b8a
files perdition/imap4_in.c
diffstat 1 files changed, 0 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/perdition/imap4_in.c	Wed Aug 07 14:13:27 2013 +0900
+++ b/perdition/imap4_in.c	Wed Aug 07 14:15:23 2013 +0900
@@ -120,7 +120,6 @@
 				   flag_t tls_flags, flag_t tls_state)
 {
 	char *capability;
-	int status = -1;
 
 	capability = imap4_capability(tls_flags, tls_state);
 	if (!capability)
@@ -138,7 +137,6 @@
 		goto err;
 	}
 
-	status = 0;
 err:
 	free(capability);
 	return 0;