From: Paul Eggert Date: Tue, 26 Apr 2011 07:20:51 +0000 (-0700) Subject: * gnutls.c (emacs_gnutls_handle_error): Remove unused local. X-Git-Tag: emacs-pretest-24.0.90~104^2~275^2~213 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=0c8c7e5cff0405b40e5ff755f88e3deef85f8eb2;p=emacs.git * gnutls.c (emacs_gnutls_handle_error): Remove unused local. --- diff --git a/src/ChangeLog b/src/ChangeLog index 8bdc3861f9b..6536a8537a4 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -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 diff --git a/src/gnutls.c b/src/gnutls.c index e75d8e71757..30d7a0c531b 100644 --- a/src/gnutls.c +++ b/src/gnutls.c @@ -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? */