From: sean Date: Thu, 16 Oct 2008 20:46:34 +0000 (+0000) Subject: No longer default-initializing a buffer which is immediately set via a function call. X-Git-Url: https://git.llucax.com/software/druntime.git/commitdiff_plain/deb175d85e8b48b3f972b7c8fab500de5ecf0fd2?hp=4926e6ef8c37680c8e5ce47d9cddd03819ae84af No longer default-initializing a buffer which is immediately set via a function call. git-svn-id: http://svn.dsource.org/projects/druntime/trunk@30 4a9d5153-6564-4b3f-b5e1-7e8e9dac548f --- diff --git a/src/compiler/dmd/object_.d b/src/compiler/dmd/object_.d index 8cdcd21..352e995 100644 --- a/src/compiler/dmd/object_.d +++ b/src/compiler/dmd/object_.d @@ -1084,7 +1084,7 @@ class Throwable : Object override string toString() { - char[10] tmp; + char[10] tmp = void; char[] buf; for (Throwable e = this; e !is null; e = e.next)