fix uninitialized variable warnings

This commit is contained in:
Kay Sievers
2008-10-24 09:37:37 +02:00
parent 34d6a259dc
commit f6bb9e981a
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -368,7 +368,7 @@ int main(int argc, char **argv)
{}
};
struct udev *udev;
struct udev_device *dev;
struct udev_device *dev = NULL;
char syspath[UTIL_PATH_SIZE];
const char *devpath;
static int export;
+1 -1
View File
@@ -41,7 +41,7 @@ int udevadm_settle(struct udev *udev, int argc, char *argv[])
{}
};
int timeout = DEFAULT_TIMEOUT;
struct udev_queue *udev_queue;
struct udev_queue *udev_queue = NULL;
int loop;
int rc = 0;