summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorrbuj <[email protected]>2021-10-19 10:03:47 +0200
committerLuke from DC <[email protected]>2022-09-11 17:55:29 +0000
commit3e83b57e85aae096a164ee940a2a0a4d7440de72 (patch)
tree6732fb689bd9044dae9fa14eda525c13150f3547
parent23748971577ddff3731eab86de92f367c598cb70 (diff)
downloadeom-3e83b57e85aae096a164ee940a2a0a4d7440de72.tar.bz2
eom-3e83b57e85aae096a164ee940a2a0a4d7440de72.tar.xz
explicitly assigning value of variable of type 'int' to itself
-rw-r--r--src/eom-scroll-view.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/eom-scroll-view.c b/src/eom-scroll-view.c
index 3fc64d4..ee57c77 100644
--- a/src/eom-scroll-view.c
+++ b/src/eom-scroll-view.c
@@ -1033,12 +1033,12 @@ eom_scroll_view_scroll_event (GtkWidget *widget, GdkEventScroll *event, gpointer
case GDK_SCROLL_DOWN:
zoom_factor = 1.0 / priv->zoom_multiplier;
xofs = 0;
- yofs = yofs;
+ /* yofs = yofs; */
break;
case GDK_SCROLL_RIGHT:
zoom_factor = priv->zoom_multiplier;
- xofs = xofs;
+ /* xofs = xofs; */
yofs = 0;
break;