summaryrefslogtreecommitdiff
path: root/guile
diff options
context:
space:
mode:
authorTim Rühsen <tim.ruehsen@gmx.de>2019-01-25 11:51:56 +0100
committerTim Rühsen <tim.ruehsen@gmx.de>2019-01-25 23:36:10 +0100
commitbd4aac5ea5112c8be80f75920e089b90935bb062 (patch)
treecb1e85eb6c9233d87ff8bd36804d8692b0421f89 /guile
parent8175c5e4cc85120ae2acee3cc640c23f30b4ec5d (diff)
downloadgnutls-bd4aac5ea5112c8be80f75920e089b90935bb062.tar.gz
Fix unused var warning in guile/src/core.ctmp-fix-guile-unused-var
Signed-off-by: Tim Rühsen <tim.ruehsen@gmx.de>
Diffstat (limited to 'guile')
-rw-r--r--guile/src/core.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/guile/src/core.c b/guile/src/core.c
index 605c91f7af..0b209f1fa4 100644
--- a/guile/src/core.c
+++ b/guile/src/core.c
@@ -791,6 +791,10 @@ SCM_DEFINE (scm_gnutls_record_receive_x, "record-receive!", 2, 0, 0,
so we have a separate implementation for these newer versions. */
#if USING_GUILE_BEFORE_2_2
static scm_t_bits session_record_port_type;
+
+/* Hint for the `scm_gc_' functions. */
+static const char session_record_port_gc_hint[] =
+ "gnutls-session-record-port";
#else
static scm_t_port_type *session_record_port_type;
#endif
@@ -802,10 +806,6 @@ static scm_t_port_type *session_record_port_type;
/* Size of a session port's input buffer. */
#define SCM_GNUTLS_SESSION_RECORD_PORT_BUFFER_SIZE 4096
-/* Hint for the `scm_gc_' functions. */
-static const char session_record_port_gc_hint[] =
- "gnutls-session-record-port";
-
#if SCM_MAJOR_VERSION == 1 && SCM_MINOR_VERSION <= 8