diff --git a/extract/ExtCell.c b/extract/ExtCell.c index d2289dd6..bb470f6a 100644 --- a/extract/ExtCell.c +++ b/extract/ExtCell.c @@ -112,7 +112,7 @@ ExtCell(def, outName, doLength) TxError("Cannot open output file: "); perror(filename); #endif - return; + return NULL; } extNumFatal = extNumWarnings = 0; diff --git a/utils/ihash.h b/utils/ihash.h index 9c5d3f34..3efe01cf 100644 --- a/utils/ihash.h +++ b/utils/ihash.h @@ -50,6 +50,7 @@ static __inline__ int IHashAlignedSize(int size) int result; /* Expand size to be double-word (64 bit) aligned */ result = ((size + 7) / 8) * 8; + return result; } /* The IHashTable struct should not be manipulated directly by clients */