aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorPaul Eggert2011-04-26 00:20:51 -0700
committerPaul Eggert2011-04-26 00:20:51 -0700
commit0c8c7e5cff0405b40e5ff755f88e3deef85f8eb2 (patch)
tree7992ffe37ef4933a9d35cff41df3576c26619a64 /src
parent080e5a8d90830c0d5c9d365e429f748e938a9485 (diff)
downloademacs-0c8c7e5cff0405b40e5ff755f88e3deef85f8eb2.tar.gz
emacs-0c8c7e5cff0405b40e5ff755f88e3deef85f8eb2.zip
* gnutls.c (emacs_gnutls_handle_error): Remove unused local.
Diffstat (limited to 'src')
-rw-r--r--src/ChangeLog1
-rw-r--r--src/gnutls.c2
2 files changed, 2 insertions, 1 deletions
diff --git a/src/ChangeLog b/src/ChangeLog
index 8bdc3861f9b..6536a8537a4 100644
--- a/src/ChangeLog
+++ b/src/ChangeLog
@@ -5,6 +5,7 @@
5 proc->gnutls_initstage, if the check is needed. The check isn't 5 proc->gnutls_initstage, if the check is needed. The check isn't
6 needed for one caller, Fgnutls_boot. 6 needed for one caller, Fgnutls_boot.
7 (emacs_gnutls_read): Do that check. This is the other caller. 7 (emacs_gnutls_read): Do that check. This is the other caller.
8 (emacs_gnutls_handle_error): Remove unused local.
8 9
9 lisp.h: Fix a problem with aliasing and vector headers. 10 lisp.h: Fix a problem with aliasing and vector headers.
10 GCC 4.6.0 optimizes based on type-based alias analysis. For 11 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)
200 Lisp_Object gnutls_log_level = Fsymbol_value (Qgnutls_log_level); 200 Lisp_Object gnutls_log_level = Fsymbol_value (Qgnutls_log_level);
201 int max_log_level = 0; 201 int max_log_level = 0;
202 202
203 int alert, ret; 203 int ret;
204 const char *str; 204 const char *str;
205 205
206 /* TODO: use a Lisp_Object generated by gnutls_make_error? */ 206 /* TODO: use a Lisp_Object generated by gnutls_make_error? */