1
0
Fork 0
mirror of https://github.com/FrankerFaceZ/FrankerFaceZ.git synced 2025-08-12 17:10:54 +00:00

Fix more warnings

This commit is contained in:
Kane York 2017-09-15 16:30:11 -07:00
parent 1aa1046073
commit ced892fd1a
4 changed files with 8 additions and 28 deletions

View file

@ -209,7 +209,7 @@ func updateSysMem() {
}
// HTTPShowStatistics handles the /stats endpoint. It writes out the Statistics object as indented JSON.
func HTTPShowStatistics(w http.ResponseWriter, r *http.Request) {
func HTTPShowStatistics(w http.ResponseWriter, _ *http.Request) {
w.Header().Set("Content-Type", "application/json")
updateStatsIfNeeded()