session server REFACTOR uninitialized var
diff --git a/src/session_server_tls.c b/src/session_server_tls.c
index 1649588..1760549 100644
--- a/src/session_server_tls.c
+++ b/src/session_server_tls.c
@@ -1326,7 +1326,7 @@
     SSL_CTX *tls_ctx;
     int ret;
     struct timespec ts_timeout;
-    struct nc_endpt *referenced_endpt;
+    struct nc_endpt *referenced_endpt = NULL;
 
     /* SSL_CTX */
     tls_ctx = SSL_CTX_new(TLS_server_method());