diff --git a/C/qlyr.c b/C/qlyr.c index 1186d0546..b4c2f7845 100755 --- a/C/qlyr.c +++ b/C/qlyr.c @@ -193,7 +193,7 @@ InsertPredEntry(PredEntry *op, PredEntry *pe) import_pred_entry_hash_entry_t *p; if (LOCAL_ImportPredEntryHashTableSize == 0) - return NULL; + return; hash = (CELL)(op) % LOCAL_ImportPredEntryHashTableSize; p = LOCAL_ImportPredEntryHashChain[hash]; while (p) { diff --git a/C/qlyw.c b/C/qlyw.c index dccb81aeb..16d3c465e 100755 --- a/C/qlyw.c +++ b/C/qlyw.c @@ -922,7 +922,6 @@ p_save_module_preds( USES_REGS1 ) Yap_Error(TYPE_ERROR_ATOM,tmod,"save_module/2"); return FALSE; } - save_header( stream ); return save_module(stream, tmod) != 0; }