From deb175d85e8b48b3f972b7c8fab500de5ecf0fd2 Mon Sep 17 00:00:00 2001 From: sean Date: Thu, 16 Oct 2008 20:46:34 +0000 Subject: [PATCH] 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 --- src/compiler/dmd/object_.d | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) -- 2.43.0