1
0
mirror of https://github.com/systemd/systemd.git synced 2025-03-25 18:50:18 +03:00

[PATCH] remove double initialization

This commit is contained in:
kay.sievers@vrfy.org 2004-12-12 02:54:55 +01:00 committed by Greg KH
parent d7190b0513
commit 8544c9ad4f

8
udev.c
View File

@ -101,11 +101,11 @@ int main(int argc, char *argv[], char *envp[])
struct sysfs_device *devices_dev;
struct udevice udev;
char path[SYSFS_PATH_MAX];
int retval = -EINVAL;
const char *error;
const char *action = getenv("ACTION");
const char *devpath = getenv("DEVPATH");
const char *subsystem = argv[1];
const char *action;
const char *devpath;
const char *subsystem;
int retval = -EINVAL;
if (argc == 2 && strcmp(argv[1], "-V") == 0) {
printf("%s\n", UDEV_VERSION);