summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChangyeon Lee <cyeon.lee@samsung.com>2023-08-04 15:13:56 +0900
committerChangyeon Lee <cyeon.lee@samsung.com>2023-08-04 15:14:19 +0900
commit95112b0f09a94c78df3bea1f229a4c3dee4aadc5 (patch)
tree525b0776746e2a16f600f8fb0deeef10ac629383
parente4ae90ad5fd7a7c1d2a03b4641dc556bd7b348d6 (diff)
downloadlibtbm-dumb-95112b0f09a94c78df3bea1f229a4c3dee4aadc5.tar.gz
libtbm-dumb-95112b0f09a94c78df3bea1f229a4c3dee4aadc5.tar.bz2
libtbm-dumb-95112b0f09a94c78df3bea1f229a4c3dee4aadc5.zip
Change-Id: Ia844d66f73716463e5f51ca4fbd8c37edc17cbc5
-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);