summaryrefslogtreecommitdiffstats
path: root/libhb/common.c
diff options
context:
space:
mode:
authormidzer <[email protected]>2016-10-19 21:19:49 +0200
committerBradley Sepos <[email protected]>2016-12-14 11:29:32 -0500
commita3fdad972e155239d077760efa3906c2330a777e (patch)
treec93a0d47c7cfc349bf6bbd02a785411e372d987d /libhb/common.c
parent66c6d3eba3aa564ef75986dec6dd090b5289b431 (diff)
libhb: Remove redundant check in common.c
Closes #358.
Diffstat (limited to 'libhb/common.c')
-rw-r--r--libhb/common.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libhb/common.c b/libhb/common.c
index a2fdc4b32..c85bd21df 100644
--- a/libhb/common.c
+++ b/libhb/common.c
@@ -2889,7 +2889,7 @@ hb_buffer_t* hb_buffer_list_rem_tail(hb_buffer_list_t *list)
else if (list->tail != NULL)
{
hb_buffer_t *end = list->head;
- while (end != NULL && end->next != list->tail)
+ while (end->next != list->tail)
{
end = end->next;
}