projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d43260b
)
logger: Remove unused variable.
author
José Fonseca
<jfonseca@vmware.com>
Mon, 20 Jan 2014 13:58:11 +0000
(13:58 +0000)
committer
José Fonseca
<jfonseca@vmware.com>
Mon, 20 Jan 2014 13:58:11 +0000
(13:58 +0000)
Silences gcc "unused variable ‘buf’" warning.
Trivial.
src/loader/loader.c
patch
|
blob
|
history
diff --git
a/src/loader/loader.c
b/src/loader/loader.c
index 1b24c04840c5f5256a36bd3830da4da9cf6153fd..a5bd7692e6e716573a26ca27fd19d421bafc763b 100644
(file)
--- 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;