CompileReport: Don't generate a report if there are no references. [msvc /analyze]

This commit is contained in:
Reece H. Dunn
2018-03-27 12:59:51 +01:00
parent 36c29c479a
commit 6d25013c94
+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