Commit 6d18c1c3 authored by npzacs's avatar npzacs

Remove always true check

parent e792172f
......@@ -65,9 +65,6 @@ static int print_title_entries(title_entry_list *list)
title_entry_list *cursor = list;
while (cursor)
{
if (!cursor->entry.discid)
break;
printf("DISCID: %s\n", str_print_hex(tmp, cursor->entry.discid, 20));
#if 0
printf(" Title: %s\n", cursor->entry.title);
......
......@@ -733,7 +733,7 @@ static void _find_config_entry(AACS *aacs, title_entry_list *ce,
char str[48];
char str2[48];
while (ce && ce->entry.discid) {
while (ce) {
if (!memcmp(aacs->disc_id, ce->entry.discid, 20)) {
BD_DEBUG(DBG_AACS, "Found config entry for discid %s\n",
str_print_hex(str, ce->entry.discid, 20));
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment