1
0
Fork 0
mirror of https://github.com/ossrs/srs.git synced 2025-03-09 15:49:59 +00:00

refine code according to inspect of clion. 0.9.219

This commit is contained in:
winlin 2014-09-28 11:08:30 +08:00
parent e0b1e044de
commit bc6616bd1f
30 changed files with 21 additions and 92 deletions

View file

@ -30,11 +30,9 @@ using namespace std;
#include <srs_kernel_log.hpp>
#include <srs_kernel_error.hpp>
#include <srs_app_http.hpp>
#include <srs_app_st_socket.hpp>
#include <srs_core_autofree.hpp>
#include <srs_app_json.hpp>
#include <srs_app_config.hpp>
#include <srs_kernel_utility.hpp>
#include <srs_app_utility.hpp>
@ -62,7 +60,7 @@ bool SrsApiRoot::is_handler_valid(SrsHttpMessage* req, int& status_code, std::st
return true;
}
bool SrsApiRoot::can_handle(const char* path, int length, const char** pchild)
bool SrsApiRoot::can_handle(const char* path, int /*length*/, const char** pchild)
{
// reset the child path to path,
// for child to reparse the path.