[v0.96] Do not consider missing frequency file as a bug

This commit is contained in:
Dr-Noob
2021-04-06 16:35:12 +02:00
parent d56f7ffd14
commit ec2ad4fef6

View File

@@ -32,17 +32,11 @@ long get_freq_from_file(char* path, bool hv_present) {
int filelen;
char* buf;
if((buf = read_file(path, &filelen)) == NULL) {
#ifdef ARCH_X86
if(hv_present) {
printWarn("Could not open '%s'", path);
}
else {
perror("open");
printBug("Could not open '%s'", path);
}
#elif ARCH_ARM
if(hv_present)
printWarn("Could not open '%s' (HV is present)", path);
else
printWarn("Could not open '%s'", path);
#endif
return UNKNOWN_FREQ;
}