Skip to content

Commit de83a33

Browse files
committed
flutter-pi.c: fix uninitialized use
1 parent be51aa4 commit de83a33

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/flutter-pi.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1795,7 +1795,7 @@ static void on_user_input_close(int fd, void *userdata) {
17951795

17961796
if (flutterpi->libseat != NULL) {
17971797
#ifdef HAVE_LIBSEAT
1798-
struct device_id_and_fd *entry;
1798+
struct device_id_and_fd *entry = NULL;
17991799

18001800
list_for_each_entry_safe(struct device_id_and_fd, entry_iter, &flutterpi->fd_for_device_id, entry) {
18011801
if (entry_iter->fd == fd) {

0 commit comments

Comments
 (0)