summaryrefslogtreecommitdiff
path: root/src/tbm_backend_dumb.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/tbm_backend_dumb.c')
-rw-r--r--src/tbm_backend_dumb.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tbm_backend_dumb.c b/src/tbm_backend_dumb.c
index ad38ca9..4c78088 100644
--- a/src/tbm_backend_dumb.c
+++ b/src/tbm_backend_dumb.c
@@ -186,7 +186,7 @@ _tbm_dumb_find_primary_gpu(void)
udev_enumerate_scan_devices(e);
drm_device = NULL;
udev_list_entry_foreach(entry, udev_enumerate_get_list_entry(e)) {
- int is_boot_vga;
+ int is_boot_vga = 0;
path = udev_list_entry_get_name(entry);
device = udev_device_new_from_syspath(udev, path);