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

@ -40,12 +40,10 @@ CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
#include <srs_kernel_utility.hpp>
#include <srs_app_http_api.hpp>
#include <srs_app_http_conn.hpp>
#include <srs_app_http.hpp>
#include <srs_app_ingest.hpp>
#include <srs_app_source.hpp>
#include <srs_app_utility.hpp>
#include <srs_app_heartbeat.hpp>
#include <srs_app_kbps.hpp>
// signal defines.
#define SIGNAL_RELOAD SIGHUP
@ -971,7 +969,7 @@ int SrsServer::on_reload_vhost_added(std::string vhost)
return ret;
}
int SrsServer::on_reload_vhost_removed(std::string vhost)
int SrsServer::on_reload_vhost_removed(std::string /*vhost*/)
{
int ret = ERROR_SUCCESS;