@@ -156,16 +156,16 @@ class IfcModel : public Command {
156156
157157class Get : public Command {
158158protected:
159- void read_content (std::istream& s ) {}
160- void write_content (std::ostream& s ) {}
159+ void read_content (std::istream& /* s */ ) {}
160+ void write_content (std::ostream& /* s */ ) {}
161161public:
162162 Get () : Command(GET) {};
163163};
164164
165165class GetLog : public Command {
166166protected:
167- void read_content (std::istream& s ) {}
168- void write_content (std::ostream& s ) {}
167+ void read_content (std::istream& /* s */ ) {}
168+ void write_content (std::ostream& /* s */ ) {}
169169public:
170170 GetLog () : Command(GET_LOG) {};
171171};
@@ -189,7 +189,7 @@ class Entity : public Command {
189189 const IfcGeom::TriangulationElement<float >* geom;
190190 bool append_line_data;
191191protected:
192- void read_content (std::istream& s ) {}
192+ void read_content (std::istream& /* s */ ) {}
193193 void write_content (std::ostream& s) {
194194 swrite<int32_t >(s, geom->id ());
195195 swrite (s, geom->guid ());
@@ -268,21 +268,21 @@ class Entity : public Command {
268268
269269class Next : public Command {
270270protected:
271- void read_content (std::istream& s ) {}
272- void write_content (std::ostream& s ) {}
271+ void read_content (std::istream& /* s */ ) {}
272+ void write_content (std::ostream& /* s */ ) {}
273273public:
274274 Next () : Command(NEXT) {};
275275};
276276
277277class Bye : public Command {
278278protected:
279- void read_content (std::istream& s ) {}
280- void write_content (std::ostream& s ) {}
279+ void read_content (std::istream& /* s */ ) {}
280+ void write_content (std::ostream& /* s */ ) {}
281281public:
282282 Bye () : Command(BYE) {};
283283};
284284
285- int main (int argc, char ** argv ) {
285+ int main () {
286286 // Redirect stdout to this stream, so that involuntary
287287 // writes to stdout do not interfere with our protocol.
288288 std::ostringstream oss;
0 commit comments