summaryrefslogtreecommitdiffstats
path: root/libhb
diff options
context:
space:
mode:
Diffstat (limited to 'libhb')
-rw-r--r--libhb/batch.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/libhb/batch.c b/libhb/batch.c
index 45fcee1a8..ca61287ef 100644
--- a/libhb/batch.c
+++ b/libhb/batch.c
@@ -47,6 +47,7 @@ hb_batch_t * hb_batch_init( char * path )
return NULL;
// Count the total number of entries
+ count = 0;
while ( (entry = hb_readdir( dir ) ) )
{
count++;