diff --git a/include/gtkwave/fastlz.c b/include/gtkwave/fastlz.c index 50bf56a46..3d2c3dc1e 100644 --- a/include/gtkwave/fastlz.c +++ b/include/gtkwave/fastlz.c @@ -418,7 +418,9 @@ static FASTLZ_INLINE int FASTLZ_DECOMPRESSOR(const void* input, int length, void const flzuint8* ip = (const flzuint8*) input; const flzuint8* ip_limit = ip + length; flzuint8* op = (flzuint8*) output; +#ifdef FASTLZ_SAFE flzuint8* op_limit = op + maxout; +#endif flzuint32 ctrl = (*ip++) & 31; int loop = 1; diff --git a/src/V3AstNodes.cpp b/src/V3AstNodes.cpp index 17ccc32ee..27a0c46ed 100644 --- a/src/V3AstNodes.cpp +++ b/src/V3AstNodes.cpp @@ -290,6 +290,7 @@ string AstVar::vlArgType(bool named, bool forReturn, bool forFunc) const { if (mayparen) { oname = " ("+oname+")"; mayparen = false; } oarray += "["+cvtToStr(widthWords())+"]"; } + if (mayparen) { } return otype+oname+oarray; } diff --git a/src/V3File.cpp b/src/V3File.cpp index 36584052b..4eb8401bb 100644 --- a/src/V3File.cpp +++ b/src/V3File.cpp @@ -223,7 +223,7 @@ inline bool V3FileDependImp::checkTimes(const string& filename, const string& cm return false; } { - string ignore = V3Os::getline(*ifp); + string ignore = V3Os::getline(*ifp); if (ignore.empty()) { /*used*/ } } { char chkDir; *ifp>>chkDir; diff --git a/src/V3Number.cpp b/src/V3Number.cpp index e595d493b..a915fa65e 100644 --- a/src/V3Number.cpp +++ b/src/V3Number.cpp @@ -355,7 +355,7 @@ V3Number& V3Number::setLong(uint32_t value) { V3Number& V3Number::setLongS(vlsint32_t value) { for (int i=0; i