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;
|
} LogDesc;
|
||||||
|
|
||||||
static const char *level_names[LOGL_MAX] = {
|
static const char *level_names[LOGL_MAX] = {
|
||||||
/* Must be in sync with nm-logging.h */
|
[LOGL_DEBUG] = "DEBUG",
|
||||||
"DEBUG",
|
[LOGL_INFO] = "INFO",
|
||||||
"INFO",
|
[LOGL_WARN] = "WARN",
|
||||||
"WARN",
|
[LOGL_ERR] = "ERR",
|
||||||
"ERR",
|
|
||||||
};
|
};
|
||||||
|
|
||||||
static const LogDesc domain_descs[] = {
|
static const LogDesc domain_descs[] = {
|
||||||
|
Reference in New Issue
Block a user