Merge remote-tracking branch 'rhdunn/master'

This commit is contained in:
Reece H. Dunn
2018-03-28 07:25:23 +01:00
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -499,7 +499,7 @@ static void CompileReport(void)
int procedure_num;
int prev_mnemonic;
if (f_report == NULL)
if (f_report == NULL || count_references == 0)
return;
// make a list of all the references and sort it
+1 -1
View File
@@ -2822,7 +2822,7 @@ static const char *LookupDict2(Translator *tr, const char *word, const char *wor
}
ix = utf8_in(&c, word);
if ((word[ix] == 0) && !IsAlpha(c))
if (flags != NULL && (word[ix] == 0) && !IsAlpha(c))
flags[0] |= FLAG_MAX3;
return word_end;