diff options
author | Alan Mishchenko <alanmi@berkeley.edu> | 2020-11-01 14:23:17 -0800 |
---|---|---|
committer | Alan Mishchenko <alanmi@berkeley.edu> | 2020-11-01 14:23:17 -0800 |
commit | ce95366e513631b1b052b55c4f8e2e83ff7e4149 (patch) | |
tree | 03149055d243ba8a871694fb75f95734c56e9f30 /src/base/io | |
parent | 3a7b3d27f19e1d8b43cfe974b6c8c3ab5c79d351 (diff) | |
download | abc-ce95366e513631b1b052b55c4f8e2e83ff7e4149.tar.gz abc-ce95366e513631b1b052b55c4f8e2e83ff7e4149.tar.bz2 abc-ce95366e513631b1b052b55c4f8e2e83ff7e4149.zip |
Trying to explicitly compute don't-cares during optimization.
Diffstat (limited to 'src/base/io')
-rw-r--r-- | src/base/io/ioUtil.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/base/io/ioUtil.c b/src/base/io/ioUtil.c index 01fe4f45..ddfcc91a 100644 --- a/src/base/io/ioUtil.c +++ b/src/base/io/ioUtil.c @@ -899,7 +899,8 @@ void Io_TransformSF2PLA( char * pNameIn, char * pNameOut ) break; if ( strstr(pBuffer, "SDF") ) { - fgets(pBuffer, Size, pFileIn); + char * pRes = fgets(pBuffer, Size, pFileIn); + assert( pRes != NULL ); if ( (pToken = strtok( pBuffer, " \t\r\n" )) ) fprintf( pFileOut, ".i %d\n", atoi(pToken) ); if ( (pToken = strtok( NULL, " \t\r\n" )) ) |