www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 12609] New: Useless variable assignment in std.regex

https://issues.dlang.org/show_bug.cgi?id=12609

          Issue ID: 12609
           Summary: Useless variable assignment in std.regex
           Product: D
           Version: D2
          Hardware: All
                OS: All
            Status: NEW
          Severity: trivial
          Priority: P1
         Component: Phobos
          Assignee: nobody puremagic.com
          Reporter: brian-schott cox.net

https://github.com/D-Programming-Language/phobos/blob/master/std/regex.d#L5366

The line:

startPc = startPc;

does nothing and should probably be removed.

--
Apr 21 2014