mirror of
https://github.com/systemd/systemd.git
synced 2024-10-27 18:55:40 +03:00
sd-device: silence gcc warning with newest gcc
This commit is contained in:
parent
9e3e592946
commit
376ee2c312
@ -1392,7 +1392,7 @@ int device_read_db_internal_filename(sd_device *device, const char *filename) {
|
||||
_cleanup_free_ char *db = NULL;
|
||||
const char *value;
|
||||
size_t db_len;
|
||||
char key;
|
||||
char key = '\0'; /* Unnecessary initialization to appease gcc-12.0.0-0.4.fc36 */
|
||||
int r;
|
||||
|
||||
enum {
|
||||
|
Loading…
Reference in New Issue
Block a user