SPDX: license tags (mostly by guesswork)
[exim.git] / src / src / smtp_in.c
index a15280bdcfdea6bbf34e1a5d988733ff2fad2cb6..3c6339c82ac6db49b248340b867e7ef516db1f32 100644 (file)
@@ -5,6 +5,7 @@
 /* Copyright (c) The Exim Maintainers 2020 - 2022 */
 /* Copyright (c) University of Cambridge 1995 - 2018 */
 /* See the file NOTICE for conditions of use and distribution. */
+/* SPDX-License-Identifier: GPL-2.0-only */
 
 /* Functions for handling an incoming SMTP call. */
 
@@ -2157,7 +2158,9 @@ prdr_requested = FALSE;
 #ifdef SUPPORT_I18N
 message_smtputf8 = FALSE;
 #endif
+#ifdef WITH_CONTENT_SCAN
 regex_vars_clear();
+#endif
 body_linecount = body_zerocount = 0;
 
 lookup_value = NULL;                           /* Can be set by ACL */