diff options
author | Kay Sievers <kay@vrfy.org> | 2012-04-10 16:41:52 +0200 |
---|---|---|
committer | Kay Sievers <kay@vrfy.org> | 2012-04-10 17:27:46 +0200 |
commit | 04a9d3a00a9290cbf254d0b0ba2ce4521be632ae (patch) | |
tree | 5b2e56bccb51717954cbd97c9a4da328a327db41 /src/udev/udev-node.c | |
parent | 235450b0d1b7269476b8a19bb20b016d2d3ffc46 (diff) |
udev: fix gcc warnings showing up after adding $(AM_CFLAGS)
Diffstat (limited to 'src/udev/udev-node.c')
-rw-r--r-- | src/udev/udev-node.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/src/udev/udev-node.c b/src/udev/udev-node.c index 95edd972f2..8e1318872a 100644 --- a/src/udev/udev-node.c +++ b/src/udev/udev-node.c @@ -240,7 +240,6 @@ static void link_update(struct udev_device *dev, const char *slink, bool add) void udev_node_update_old_links(struct udev_device *dev, struct udev_device *dev_old) { - struct udev *udev = udev_device_get_udev(dev); struct udev_list_entry *list_entry; /* update possible left-over symlinks */ @@ -322,7 +321,6 @@ void udev_node_add(struct udev_device *dev, mode_t mode, uid_t uid, gid_t gid) struct udev *udev = udev_device_get_udev(dev); char filename[UTIL_PATH_SIZE]; struct udev_list_entry *list_entry; - int err = 0; log_debug("handling device node '%s', devnum=%s, mode=%#o, uid=%d, gid=%d\n", udev_device_get_devnode(dev), udev_device_get_id_filename(dev), mode, uid, gid); @@ -351,9 +349,6 @@ void udev_node_remove(struct udev_device *dev) { struct udev *udev = udev_device_get_udev(dev); struct udev_list_entry *list_entry; - const char *devnode; - struct stat stats; - struct udev_device *dev_check; char filename[UTIL_PATH_SIZE]; /* remove/update symlinks, remove symlinks from name index */ |