diff options
author | Pavel Shlyak <shlyak-pavel2011@ya.ru> | 2018-12-23 18:44:09 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-12-23 18:44:09 +0300 |
commit | a4f09edc1eb8a673cb1d953aeded7ac0b1295859 (patch) | |
tree | b58ba5926c84e1e298ee05631822ab677f27859c /src | |
parent | c2efc3491979a9fadcc32496c319ebefcb2a8301 (diff) |
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
Diffstat (limited to 'src')
-rw-r--r-- | src/main.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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 */ |