]> git.ipfire.org Git - thirdparty/gnutls.git/commitdiff
Fix unused var warning in guile/src/core.c
authorTim Rühsen <tim.ruehsen@gmx.de>
Fri, 25 Jan 2019 10:51:56 +0000 (11:51 +0100)
committerTim Rühsen <tim.ruehsen@gmx.de>
Fri, 25 Jan 2019 22:36:10 +0000 (23:36 +0100)
Signed-off-by: Tim Rühsen <tim.ruehsen@gmx.de>
guile/src/core.c

index 605c91f7af2d07bd8f67f58860b6b0554f5b9dbf..0b209f1fa4eaaf01302e9d48e3f21fb822b308e8 100644 (file)
@@ -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