1
0
mirror of https://github.com/systemd/systemd.git synced 2025-01-06 17:18:12 +03:00

virt: merge three variable declarations

This commit is contained in:
Lennart Poettering 2021-01-11 21:08:01 +01:00
parent bcac754d66
commit a7e508f899

View File

@ -456,9 +456,7 @@ DEFINE_PRIVATE_STRING_TABLE_LOOKUP_FROM_STRING(container, int);
int detect_container(void) {
static thread_local int cached_found = _VIRTUALIZATION_INVALID;
_cleanup_free_ char *m = NULL;
_cleanup_free_ char *o = NULL;
_cleanup_free_ char *p = NULL;
_cleanup_free_ char *m = NULL, *o = NULL, *p = NULL;
const char *e = NULL;
int r;