commit c52989a692fd9070dcb9b78632b076a68293480c
parent f60d05e6ff5ba67d3c6068d9d2107c361774eea6
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
@@ -307,7 +307,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)) {
@@ -560,7 +559,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;