# HG changeset patch # User reimar # Date 1392565472 0 # Node ID 6ec928ab81122e30069894615ff3b786072f4fa4 # Parent 8f3dc4467047decba0d3f1f6c972e5ea722af38e ao_esd: remove condition that must always be true. It caused warnings about potentially uninitialized variables. diff -r 8f3dc4467047 -r 6ec928ab8112 libao2/ao_esd.c --- a/libao2/ao_esd.c Sun Feb 16 15:44:31 2014 +0000 +++ b/libao2/ao_esd.c Sun Feb 16 15:44:32 2014 +0000 @@ -165,7 +165,6 @@ float lag_seconds, lag_net, lag_serv; struct timeval proto_start, proto_end; - if (esd_fd < 0) { esd_fd = esd_open_sound(server); if (esd_fd < 0) { mp_msg(MSGT_AO, MSGL_ERR, MSGTR_AO_ESD_CantOpenSound, @@ -190,7 +189,6 @@ esd_print_server_info(esd_svinfo); } */ - } esd_fmt = ESD_STREAM | ESD_PLAY;