mirror of
https://github.com/systemd/systemd.git
synced 2025-01-07 21:18:41 +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) {
|
int detect_container(void) {
|
||||||
static thread_local int cached_found = _VIRTUALIZATION_INVALID;
|
static thread_local int cached_found = _VIRTUALIZATION_INVALID;
|
||||||
_cleanup_free_ char *m = NULL;
|
_cleanup_free_ char *m = NULL, *o = NULL, *p = NULL;
|
||||||
_cleanup_free_ char *o = NULL;
|
|
||||||
_cleanup_free_ char *p = NULL;
|
|
||||||
const char *e = NULL;
|
const char *e = NULL;
|
||||||
int r;
|
int r;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user