core/logging: initialize level_names array with explicit array initilizer (trivial)
Signed-off-by: Thomas Haller <thaller@redhat.com>
This commit is contained in:
@@ -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[] = {
|
||||
|
Reference in New Issue
Block a user