1
0
Fork 0
mirror of https://github.com/ossrs/srs.git synced 2025-02-13 03:41:55 +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;
char* pstart = buffer->pos;
int startline = 0;
bool sharp_comment = false;
@ -347,7 +346,6 @@ int SrsConfDirective::read_token(SrsFileBuffer* buffer, std::vector<string>& arg
continue;
}
pstart = buffer->pos - 1;
startline = buffer->line;
switch (ch) {
case ';':
if (args.size() == 0) {