commit ca5dc3b1af52349f64d2cc1447a1634beb1cfa02
parent b5f8770f7c9262f0c3519ae7b2a9bd13d777a1ce
Author: Jonathan Boeing <jonathan.n.boeing@gmail.com>
Date: Sun, 25 Jul 2021 21:48:32 -0700
Fix -Wall errors
Diffstat:
1 file changed, 0 insertions(+), 2 deletions(-)
diff --git a/src/plugins/litehtml_viewer/lh_widget.cpp b/src/plugins/litehtml_viewer/lh_widget.cpp
@@ -296,7 +296,6 @@ void lh_widget::clear()
void lh_widget::set_cursor(const litehtml::tchar_t* cursor)
{
litehtml::element::ptr over_el = m_html->over_element();
- gint x, y;
if (m_showing_url &&
(over_el == NULL || over_el != m_over_element)) {
@@ -540,7 +539,6 @@ static gboolean button_release_event(GtkWidget *widget, GdkEventButton *event,
{
litehtml::position::vector redraw_boxes;
lh_widget *w = (lh_widget *)user_data;
- GError* error = NULL;
if (w->m_html == NULL)
return FALSE;