Unverified Commit a4f09edc authored by Pavel Shlyak's avatar Pavel Shlyak Committed by GitHub
Browse files

There is no need to test ft against null

ft is already checked on line 153 so this condition is useless. Check https://github.com/derf/feh/issues/440 for more details
parent c2efc349
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -183,7 +183,7 @@ int feh_main_iteration(int block)
					&& ((errno == ENOMEM) || (errno == EINVAL)
						|| (errno == EBADF)))
				eprintf("Connection to X display lost");
			if ((ft) && (count == 0)) {
			if (count == 0) {
				/* This means the timer is due to be executed. If count was > 0,
				   that would mean an X event had woken us, we're not interested
				   in that */