<<< Date Index >>>     <<< Thread Index >>>

[PATCH] Warning removal



Hi,

Compiling mutt on my system gives the following warning :

crypt.c: In function 'crypt_valid_passphrase':
crypt.c:113: warning: unused variable 'now'

The patch below removes this warning.

Cheers,
Sébastien.

--- crypt.c~    2005-06-23 18:36:39.075836976 +0200
+++ crypt.c     2005-06-23 18:36:39.075836976 +0200
@@ -110,7 +110,6 @@
 
 int crypt_valid_passphrase(int flags)
 {
-  time_t now = time (NULL);
   int ret = 0;
 
 # if defined(HAVE_SETRLIMIT) &&(!defined(DEBUG))