From 010b5c0d7a5148b3ebd35ec7bbce89e732fa4a44 Mon Sep 17 00:00:00 2001 From: winlin Date: Sat, 15 Mar 2014 19:48:11 +0800 Subject: [PATCH] fix ubuntu build warning, the config unused setter --- trunk/src/app/srs_app_config.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/trunk/src/app/srs_app_config.cpp b/trunk/src/app/srs_app_config.cpp index a4106142a..df1ee94e3 100644 --- a/trunk/src/app/srs_app_config.cpp +++ b/trunk/src/app/srs_app_config.cpp @@ -291,7 +291,7 @@ int SrsConfDirective::read_token(SrsFileBuffer* buffer, std::vector& arg int ret = ERROR_SUCCESS; char* pstart = buffer->pos; - int startline = buffer->line; + int startline = 0; bool sharp_comment = false;