udev-builtin-hwdb: explicitly initialize global variable

This commit is contained in:
Yu Watanabe
2025-02-02 12:44:57 +09:00
parent c791f61949
commit 5bb83e3f30
+1 -1
View File
@@ -15,7 +15,7 @@
#include "string-util.h"
#include "udev-builtin.h"
static sd_hwdb *hwdb;
static sd_hwdb *hwdb = NULL;
int udev_builtin_hwdb_lookup(
UdevEvent *event,