mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-08-21 18:29:46 +00:00
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
This commit is contained in:
parent
afea27befa
commit
dd1b7c9685
@ -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…
Reference in New Issue
Block a user