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:
parent
010b5c0d7a
commit
a90cb9dd84
1 changed files with 0 additions and 2 deletions
|
@ -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) {
|
||||
|
|
Loading…
Reference in a new issue