Fix clang 3.8.0 warnings.

This commit is contained in:
Wilson Snyder
2016-03-31 22:26:49 -04:00
parent 482bdab0e0
commit 80678ae7bc
3 changed files with 5 additions and 2 deletions
+2 -1
View File
@@ -961,7 +961,8 @@ void VL_READMEM_W(bool hex, int width, int depth, int array_lsb, int fnwords,
}
void VL_READMEM_N(bool hex, int width, int depth, int array_lsb, int fnwords,
const string& ofilenamep, void* memp, IData start, IData end) {
const string& ofilenamep, void* memp, IData start, IData end) {
if (fnwords) {}
FILE* fp = fopen(ofilenamep.c_str(), "r");
if (VL_UNLIKELY(!fp)) {
// We don't report the Verilog source filename as it slow to have to pass it down