From 0bef1f3d1b64d40f21451ab56cdafe1fa794730d Mon Sep 17 00:00:00 2001 From: Cameron Zwarich Date: Wed, 9 Feb 2011 23:02:14 +0000 Subject: [PATCH] Attempt to fix the build after r125228. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@125236 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/Support/Unix/PathV2.inc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/Support/Unix/PathV2.inc b/lib/Support/Unix/PathV2.inc index 7fa838b16b7..3a3a438d05b 100644 --- a/lib/Support/Unix/PathV2.inc +++ b/lib/Support/Unix/PathV2.inc @@ -522,13 +522,13 @@ void canonical(const char *path, SmallVectorImpl &buffer) { buffer.resize(length); memcpy(buffer.data(), result, length); free(result); - return buffer.data(); + return; } size_t length = strlen(path); buffer.resize(length); memcpy(buffer.data(), path, length); - return path; + return; } } // end namespace path -- 2.34.1