From f0c2662b126c90912c9b8adf6c3be07024dfe69e Mon Sep 17 00:00:00 2001 From: José Fonseca Date: Mon, 20 Jan 2014 13:58:11 +0000 Subject: logger: Remove unused variable. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Silences gcc "unused variable ‘buf’" warning. Trivial. --- src/loader/loader.c | 1 - 1 file changed, 1 deletion(-) (limited to 'src/loader') diff --git a/src/loader/loader.c b/src/loader/loader.c index 1b24c04840c..a5bd7692e6e 100644 --- a/src/loader/loader.c +++ b/src/loader/loader.c @@ -118,7 +118,6 @@ loader_get_pci_id_for_fd(int fd, int *vendor_id, int *chip_id) { struct udev *udev = NULL; struct udev_device *device = NULL, *parent; - struct stat buf; const char *pci_id; *chip_id = -1; -- cgit v1.2.3