summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorrbuj <[email protected]>2021-10-19 10:03:47 +0200
committerrbuj <[email protected]>2021-10-19 10:03:47 +0200
commitb398a12950e9bb8a3d33cdfc37d5f6d64dec0cca (patch)
tree4da8e21e542685a0f22eea61d714b81054da7059
parent87d115e7d125929b3f1b380b756f7d16c85a1f49 (diff)
downloadeom-self-assign.tar.bz2
eom-self-assign.tar.xz
explicitly assigning value of variable of type 'int' to itselfself-assign
-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 f35e022..2f90d55 100644
--- a/src/eom-scroll-view.c
+++ b/src/eom-scroll-view.c
@@ -1032,12 +1032,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;