- Clang: private field 'module' is not used
- GCC: suggest a space before ‘;’ or explicit braces around empty
body in ‘while’ statement
*/
class HTTPDocumentResponse
{
+ public:
/** Module that generated this reply
*/
Module* const module;
- public:
std::stringstream* document;
unsigned int responsecode;
std::set<std::string> seen;
tag = ConfigTag::create(name, current.filename, current.line, items);
- while (kv(items, seen));
+ while (kv(items, seen))
+ {
+ // Do nothing here (silences a GCC warning).
+ }
if (name == mandatory_tag)
{