mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-03-07 11:59:09 +00:00
Remove MSan hack that is no longer needed.
llvm-svn: 184428
This commit is contained in:
parent
788cd80f4e
commit
0d9af4e442
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user