add comments to suppres -Wimplicit-fallthrough warnings

This commit is contained in:
Stefan Seyfried
2017-09-23 18:11:47 +02:00
committed by Jacek Jendrzej
parent 9e2a7d7f79
commit 971f3703a6
12 changed files with 19 additions and 2 deletions

View File

@@ -283,7 +283,7 @@ std::string CyhookHandler::BuildHeader(bool cache) {
case HTTP_MOVED_PERMANENTLY:
// Status HTTP_*_TEMPORARILY (redirection)
result += string_printf("Location: %s\r\n", NewURL.c_str());
// NO break HERE !!!
// fall through
default:
time_t timer = time(0);