mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2026-01-03 16:20:14 +01:00
core/logging: initialize level_names array with explicit array initilizer (trivial)
Signed-off-by: Thomas Haller <thaller@redhat.com>
This commit is contained in:
parent
6b5fb892e1
commit
3b3e33f8ec
1 changed files with 4 additions and 5 deletions
|
|
@ -66,11 +66,10 @@ typedef struct {
|
|||
} LogDesc;
|
||||
|
||||
static const char *level_names[LOGL_MAX] = {
|
||||
/* Must be in sync with nm-logging.h */
|
||||
"DEBUG",
|
||||
"INFO",
|
||||
"WARN",
|
||||
"ERR",
|
||||
[LOGL_DEBUG] = "DEBUG",
|
||||
[LOGL_INFO] = "INFO",
|
||||
[LOGL_WARN] = "WARN",
|
||||
[LOGL_ERR] = "ERR",
|
||||
};
|
||||
|
||||
static const LogDesc domain_descs[] = {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue