]> git.llucax.com Git - software/druntime.git/commitdiff
No longer default-initializing a buffer which is immediately set via a function call.
authorsean <sean@4a9d5153-6564-4b3f-b5e1-7e8e9dac548f>
Thu, 16 Oct 2008 20:46:34 +0000 (20:46 +0000)
committersean <sean@4a9d5153-6564-4b3f-b5e1-7e8e9dac548f>
Thu, 16 Oct 2008 20:46:34 +0000 (20:46 +0000)
git-svn-id: http://svn.dsource.org/projects/druntime/trunk@30 4a9d5153-6564-4b3f-b5e1-7e8e9dac548f

src/compiler/dmd/object_.d

index 8cdcd214d414c72b50e8ec9832cfebb4b6e08cac..352e995e4bb025e8c00cc121b2ee44a2e0c41df4 100644 (file)
@@ -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)