Fix build error if ENABLE_SMI=OFF

* introduced with 9b13c4352d
 * HAVE_SMI_VERSION_STRING is always defined if libsmi found

Change-Id: I50480d37a3a6f31bcfe768f030af9176213b7366
Signed-off-by: Toni Uhlig <matzeton@googlemail.com>
This commit is contained in:
Toni Uhlig 2021-09-17 15:12:48 +02:00 committed by Jaap Keuter
parent dd59d1fcf9
commit a823e34642
1 changed files with 2 additions and 0 deletions

View File

@ -903,9 +903,11 @@ epan_get_runtime_version_info(GString *str)
#endif /* HAVE_ZSTD */
/* libsmi */
#ifdef HAVE_LIBSMI
#ifdef HAVE_SMI_VERSION_STRING
g_string_append_printf(str, ", with libsmi %s", smi_version_string);
#endif /* HAVE_SMI_VERSION_STRING */
#endif
}
/*