1
0
Fork 0
mirror of https://github.com/ossrs/srs.git synced 2025-02-15 04:42:04 +00:00

fix ubuntu build warning, the config unused setter

This commit is contained in:
winlin 2014-03-15 19:50:40 +08:00
parent 010b5c0d7a
commit a90cb9dd84

View file

@ -291,7 +291,6 @@ int SrsConfDirective::read_token(SrsFileBuffer* buffer, std::vector<string>& arg
int ret = ERROR_SUCCESS; int ret = ERROR_SUCCESS;
char* pstart = buffer->pos; char* pstart = buffer->pos;
int startline = 0;
bool sharp_comment = false; bool sharp_comment = false;
@ -347,7 +346,6 @@ int SrsConfDirective::read_token(SrsFileBuffer* buffer, std::vector<string>& arg
continue; continue;
} }
pstart = buffer->pos - 1; pstart = buffer->pos - 1;
startline = buffer->line;
switch (ch) { switch (ch) {
case ';': case ';':
if (args.size() == 0) { if (args.size() == 0) {