]> git.eshelyaron.com Git - emacs.git/commitdiff
* gnutls.c (emacs_gnutls_handle_error): Remove unused local.
authorPaul Eggert <eggert@cs.ucla.edu>
Tue, 26 Apr 2011 07:20:51 +0000 (00:20 -0700)
committerPaul Eggert <eggert@cs.ucla.edu>
Tue, 26 Apr 2011 07:20:51 +0000 (00:20 -0700)
src/ChangeLog
src/gnutls.c

index 8bdc3861f9bf1dbf643dacb30d0ac0b4ee1ba03c..6536a8537a4a3f3168eb5c944f1c1aea2f427d87 100644 (file)
@@ -5,6 +5,7 @@
        proc->gnutls_initstage, if the check is needed.  The check isn't
        needed for one caller, Fgnutls_boot.
        (emacs_gnutls_read): Do that check.  This is the other caller.
+       (emacs_gnutls_handle_error): Remove unused local.
 
        lisp.h: Fix a problem with aliasing and vector headers.
        GCC 4.6.0 optimizes based on type-based alias analysis.  For
index e75d8e717575fd2a3cdb77b2a36f2435f59afd85..30d7a0c531b079c1605a6d060f07f5daf670fd2d 100644 (file)
@@ -200,7 +200,7 @@ emacs_gnutls_handle_error (gnutls_session_t session, int err)
   Lisp_Object gnutls_log_level = Fsymbol_value (Qgnutls_log_level);
   int max_log_level = 0;
 
-  int alert, ret;
+  int ret;
   const char *str;
 
   /* TODO: use a Lisp_Object generated by gnutls_make_error?  */