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:
parent
bcac754d66
commit
a7e508f899
@ -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;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user