From 5029159fbe7c267c9322fc6c38064e9ab2ce91bc Mon Sep 17 00:00:00 2001 From: "Michael J. Spencer" Date: Tue, 7 Dec 2010 17:04:04 +0000 Subject: Support/PathV2: Change most functions in the path namespace to return their work via their return value instead of an out parameter. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@121149 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/Support/Windows/PathV2.inc | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'lib/Support/Windows/PathV2.inc') diff --git a/lib/Support/Windows/PathV2.inc b/lib/Support/Windows/PathV2.inc index 42a50fc0f9..6a1ea93914 100644 --- a/lib/Support/Windows/PathV2.inc +++ b/lib/Support/Windows/PathV2.inc @@ -489,8 +489,7 @@ error_code unique_file(const Twine &model, int &result_fd, if (error_code ec = UTF8ToUTF16(m, model_utf16)) return ec; // Make model absolute by prepending a temp directory if it's not already. - bool absolute; - path::is_absolute(m, absolute); + bool absolute = path::is_absolute(m); if (!absolute) { SmallVector temp_dir; -- cgit v1.2.3-18-g5258