From 0c8c7e5cff0405b40e5ff755f88e3deef85f8eb2 Mon Sep 17 00:00:00 2001 From: Paul Eggert Date: Tue, 26 Apr 2011 00:20:51 -0700 Subject: [PATCH] * gnutls.c (emacs_gnutls_handle_error): Remove unused local. --- src/ChangeLog | 1 + src/gnutls.c | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) 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? */ -- 2.39.2