Added missing initialization of pbrec_count variable

This commit is contained in:
Jaroslav Kysela 2003-04-27 08:46:33 +00:00
parent 812cb6cfd1
commit 071c299369

View file

@ -1793,6 +1793,7 @@ static void playback(char *name)
size_t dta;
ssize_t dtawave;
pbrec_count = (size_t)-1;
fdcount = 0;
if (!name || !strcmp(name, "-")) {
fd = fileno(stdin);
@ -1843,6 +1844,7 @@ static void playback(char *name)
static void capture(char *name)
{
pbrec_count = (size_t)-1;
if (!name || !strcmp(name, "-")) {
fd = fileno(stdout);
name = "stdout";