[D-runtime] [D-Programming-Language/druntime] aa94d6: Remove a useless and complicated cast

GitHub noreply at github.com
Wed Oct 31 03:36:56 PDT 2012


  Branch: refs/heads/master
  Home:   https://github.com/D-Programming-Language/druntime
  Commit: aa94d62b76b29c1e0dcef3e82c73f24308c93b16
      https://github.com/D-Programming-Language/druntime/commit/aa94d62b76b29c1e0dcef3e82c73f24308c93b16
  Author: Don Clugston <don.clugston at sociomantic.com>
  Date:   2012-10-31 (Wed, 31 Oct 2012)

  Changed paths:
    M src/rt/adi.d

  Log Message:
  -----------
  Remove a useless and complicated cast

*cast(void[]*)(&a), where a is void[], is a cast from void[] to void[] !
It is a very convoluted way of doing nothing at all.
Also removed the Array structure which is no longer used.


  Commit: 4acdd372e95be3c5d2b1a09fa54ca02fb89493de
      https://github.com/D-Programming-Language/druntime/commit/4acdd372e95be3c5d2b1a09fa54ca02fb89493de
  Author: Alex Rønne Petersen <alex at lycus.org>
  Date:   2012-10-31 (Wed, 31 Oct 2012)

  Changed paths:
    M src/rt/adi.d

  Log Message:
  -----------
  Merge pull request #341 from donc/remove_useless_arraycast

Remove a useless and complicated cast


Compare: https://github.com/D-Programming-Language/druntime/compare/159b9e38ebfb...4acdd372e95b


More information about the D-runtime mailing list