summaryrefslogtreecommitdiffstats
path: root/libhb/decsrtsub.c
diff options
context:
space:
mode:
authorjstebbins <[email protected]>2012-05-26 09:33:14 +0000
committerjstebbins <[email protected]>2012-05-26 09:33:14 +0000
commite171cf6645d2d43e44ec40a3f5f918b6397580c7 (patch)
treea7ceebcfe04238c4264f982756006eded73f1bb9 /libhb/decsrtsub.c
parent776795b2995044dc92b02e10155fff2644776fe3 (diff)
fix more compiler warnings
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4702 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'libhb/decsrtsub.c')
-rw-r--r--libhb/decsrtsub.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libhb/decsrtsub.c b/libhb/decsrtsub.c
index c914e9c91..e70676c4c 100644
--- a/libhb/decsrtsub.c
+++ b/libhb/decsrtsub.c
@@ -233,11 +233,11 @@ static hb_buffer_t *srt_read( hb_work_private_t *pv )
case k_state_inEntry_or_new:
{
char *endpoint;
- long entry_number;
/*
* Is this really new next entry begin?
+ * Look for entry number.
*/
- entry_number = strtol(line_buffer, &endpoint, 10);
+ strtol(line_buffer, &endpoint, 10);
if (endpoint == line_buffer ||
(endpoint && *endpoint != '\n' && *endpoint != '\r'))
{