Skip to content

Commit

Permalink
Remove redundant code
Browse files Browse the repository at this point in the history
Also fixes leaking some memory.
  • Loading branch information
cwendling authored and sthibaul committed Sep 13, 2023
1 parent 0bc4696 commit c45241f
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions src/daisy-player.c
Original file line number Diff line number Diff line change
Expand Up @@ -2463,8 +2463,6 @@ int main (int argc, char *argv[])
{
daisy[misc.current].smil_file = strdup ("");
daisy[misc.current].smil_anchor = strdup ("");
daisy[misc.current].smil_file = strdup ("");
daisy[misc.current].smil_anchor = strdup ("");
} // for
break;
} // TRACK_COUNT_AUDIO
Expand Down Expand Up @@ -2506,8 +2504,6 @@ int main (int argc, char *argv[])
{
daisy[misc.current].smil_file = strdup ("");
daisy[misc.current].smil_anchor = strdup ("");
daisy[misc.current].smil_file = strdup ("");
daisy[misc.current].smil_anchor = strdup ("");
} // for
snprintf (DISCINFO_HTML, MAX_STR - 1,
"%s/discinfo.html", misc.daisy_mp);
Expand Down

0 comments on commit c45241f

Please sign in to comment.