← Back to team overview

millennium-dev team mailing list archive

[Bug 1202670] [NEW] Redundant code line.

 

Public bug reported:

The line

"message.erase(std::remove(message.begin(), message.end(), '\n'),
message.end()); // Removes newline characters"

in file main.cpp probably does nothing in all cases.

** Affects: libmillennium
     Importance: Low
         Status: New

-- 
You received this bug notification because you are a member of
Millennium Developers, which is subscribed to libMillennium.
https://bugs.launchpad.net/bugs/1202670

Title:
  Redundant code line.

Status in libMillennium:
  New

Bug description:
  The line

  "message.erase(std::remove(message.begin(), message.end(), '\n'),
  message.end()); // Removes newline characters"

  in file main.cpp probably does nothing in all cases.

To manage notifications about this bug go to:
https://bugs.launchpad.net/libmillennium/+bug/1202670/+subscriptions


Follow ups

References