diff options
author | Evgeniy Stepanov <eugeni.stepanov@gmail.com> | 2013-06-20 14:19:10 +0000 |
---|---|---|
committer | Evgeniy Stepanov <eugeni.stepanov@gmail.com> | 2013-06-20 14:19:10 +0000 |
commit | dd1b7c9685324beb385c33b8dfd5628c4836670f (patch) | |
tree | e1090fe225c9bd8fef5a2b9db559d9fb0e5a8541 /lib | |
parent | afea27befa957f2de268dfe01a04e96ad8b7a079 (diff) | |
download | llvm-dd1b7c9685324beb385c33b8dfd5628c4836670f.tar.gz llvm-dd1b7c9685324beb385c33b8dfd5628c4836670f.tar.bz2 llvm-dd1b7c9685324beb385c33b8dfd5628c4836670f.tar.xz |
Remove MSan hack that is no longer needed.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@184428 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib')
-rw-r--r-- | lib/Support/Unix/Process.inc | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/lib/Support/Unix/Process.inc b/lib/Support/Unix/Process.inc index 9a4454f1c6..1335b78e86 100644 --- a/lib/Support/Unix/Process.inc +++ b/lib/Support/Unix/Process.inc @@ -224,8 +224,6 @@ static unsigned getColumns(int FileID) { #if defined(HAVE_SYS_IOCTL_H) && defined(HAVE_TERMIOS_H) // Try to determine the width of the terminal. struct winsize ws; - // Zero-fill ws to avoid a false positive from MemorySanitizer. - memset(&ws, 0, sizeof(ws)); if (ioctl(FileID, TIOCGWINSZ, &ws) == 0) Columns = ws.ws_col; #endif |