Fixes for PVS errors

This commit is contained in:
Alexey Starikovskiy
2023-09-01 22:30:24 +03:00
parent fbb8341323
commit 9e91c31e31
16 changed files with 60 additions and 62 deletions
+1 -1
View File
@@ -54,7 +54,7 @@ Altera::Altera(Jtag *jtag, const std::string &filename,
printError("\tplease use rbf or svf file");
printError("\tor use --write-flash with: ", false);
printError("-b board_name or --fpga_part xxxx");
std::runtime_error("Error: wrong file");
throw std::runtime_error("Error: wrong file");
} else {
_mode = Device::SPI_MODE;
}