udev-manager: mark old_key as unused too

This commit is contained in:
David Tardon
2023-11-08 14:52:43 +01:00
parent e1593039db
commit 25270051cc
+2 -2
View File
@@ -893,8 +893,8 @@ static int on_ctrl_msg(UdevCtrl *uctrl, UdevCtrlMessageType type, const UdevCtrl
manager_reload(manager, /* force = */ true);
break;
case UDEV_CTRL_SET_ENV: {
_unused_ _cleanup_free_ char *old_val = NULL;
_cleanup_free_ char *key = NULL, *val = NULL, *old_key = NULL;
_unused_ _cleanup_free_ char *old_val = NULL, *old_key = NULL;
_cleanup_free_ char *key = NULL, *val = NULL;
const char *eq;
eq = strchr(value->buf, '=');