···530530 // Find the path to the focused widget. This builds a list that has the first element as the
531531 // focused widget, and walks backward to the root. It's possible our focused widget is *not*
532532 // in this tree. If this is the case, we refocus to the root widget
533533- const has_focus = try self.childHasFocus(allocator, surface);
533533+ _ = try self.childHasFocus(allocator, surface);
534534535535- // We assert that the focused widget *must* be in the widget tree. There is certianly a
536536- // logic bug in the code somewhere if this is not the case
537537- assert(has_focus); // Focused widget not found in Surface tree
538535 if (!self.root.eql(surface.widget)) {
539536 // If the root of surface is not the initial widget, we append the initial widget
540537 try self.path_to_focused.append(allocator, self.root);