@@ -149,7 +149,7 @@ void ui_message_handlert::print(
149149 {
150150 source_locationt location;
151151 location.make_nil ();
152- print (level, message, - 1 , location);
152+ print (level, message, location);
153153 if (always_flush)
154154 flush (level);
155155 }
@@ -206,7 +206,6 @@ void ui_message_handlert::print(
206206void ui_message_handlert::print (
207207 unsigned level,
208208 const std::string &message,
209- int sequence_number,
210209 const source_locationt &location)
211210{
212211 message_handlert::print (level, message);
@@ -217,7 +216,7 @@ void ui_message_handlert::print(
217216 {
218217 case uit::PLAIN:
219218 message_handlert::print (
220- level, message, sequence_number, location);
219+ level, message, location);
221220 break ;
222221
223222 case uit::XML_UI:
@@ -230,10 +229,7 @@ void ui_message_handlert::print(
230229
231230 const char *type=level_string (level);
232231
233- std::string sequence_number_str=
234- sequence_number>=0 ?std::to_string (sequence_number):" " ;
235-
236- ui_msg (type, tmp_message, sequence_number_str, location);
232+ ui_msg (type, tmp_message, location);
237233 }
238234 break ;
239235 }
@@ -242,8 +238,7 @@ void ui_message_handlert::print(
242238
243239void ui_message_handlert::ui_msg (
244240 const std::string &type,
245- const std::string &msg1,
246- const std::string &msg2,
241+ const std::string &msg,
247242 const source_locationt &location)
248243{
249244 switch (get_ui ())
@@ -252,19 +247,18 @@ void ui_message_handlert::ui_msg(
252247 break ;
253248
254249 case uit::XML_UI:
255- xml_ui_msg (type, msg1, msg2 , location);
250+ xml_ui_msg (type, msg , location);
256251 break ;
257252
258253 case uit::JSON_UI:
259- json_ui_msg (type, msg1, msg2 , location);
254+ json_ui_msg (type, msg , location);
260255 break ;
261256 }
262257}
263258
264259void ui_message_handlert::xml_ui_msg (
265260 const std::string &type,
266261 const std::string &msg1,
267- const std::string &,
268262 const source_locationt &location)
269263{
270264 xmlt result;
@@ -287,7 +281,6 @@ void ui_message_handlert::xml_ui_msg(
287281void ui_message_handlert::json_ui_msg (
288282 const std::string &type,
289283 const std::string &msg1,
290- const std::string &,
291284 const source_locationt &location)
292285{
293286 INVARIANT (json_stream, " JSON stream must be initialized before use" );
0 commit comments