Browse Source

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

master
Reece H. Dunn 7 years ago
parent
commit
6d25013c94
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      src/libespeak-ng/compiledata.c

+ 1
- 1
src/libespeak-ng/compiledata.c 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

Loading…
Cancel
Save