* subversion/libsvn_subr/sysinfo.c
(svn_sysinfo__linked_libs): Move lz4_version declaration to start of function
@@ -128,6 +128,7 @@ svn_sysinfo__linked_libs(apr_pool_t *pool)
{
svn_version_ext_linked_lib_t *lib;
apr_array_header_t *array = apr_array_make(pool, 7, sizeof(*lib));
+ int lz4_version = svn_lz4__runtime_version();
lib = &APR_ARRAY_PUSH(array, svn_version_ext_linked_lib_t);
lib->name = "APR";
@@ -171,7 +172,6 @@ svn_sysinfo__linked_libs(apr_pool_t *pool)
lib->name = "LZ4";
lib->compiled_version = apr_pstrdup(pool, svn_lz4__compiled_version());
- int lz4_version = svn_lz4__runtime_version();
lib->runtime_version = apr_psprintf(pool, "%d.%d.%d",
lz4_version / 100 / 100,
(lz4_version / 100) % 100,
