[engine] remove compile warnings

This commit is contained in:
tangxifan 2022-08-22 20:59:50 -07:00
parent d5f56aada3
commit 5d6a90d983
3 changed files with 4 additions and 5 deletions

View File

@ -40,7 +40,7 @@ int pcf2place(const PcfData& pcf_data,
VTR_LOG_ERROR("PCF contains invalid I/O assignment!\n");
return 1;
} else {
VTR_LOG_INFO("PCF basic check passed\n");
VTR_LOG("PCF basic check passed\n");
}
/* Build the I/O place */

View File

@ -70,8 +70,8 @@ IoLocationMap read_xml_io_location_map(const char* fname) {
pugi::xml_node xml_root = get_single_child(doc, "io_coordinates", loc_data);
size_t num_children = std::distance(xml_root.children().begin(), xml_root.children().end());
/* TODO: Reserve memory space for efficiency */
/*size_t num_children = std::distance(xml_root.children().begin(), xml_root.children().end());
* TODO: Reserve memory space for efficiency */
for (pugi::xml_node xml_io : xml_root.children()) {
/* Error out if the XML child has an invalid name! */

View File

@ -476,8 +476,7 @@ void add_openfpga_setup_commands(openfpga::Shell<OpenfpgaContext>& shell) {
/********************************
* Command 'pcf2place'
*/
ShellCommandId pcf2place_cmd_id = add_openfpga_pcf2place_command(shell,
openfpga_setup_cmd_class);
add_openfpga_pcf2place_command(shell, openfpga_setup_cmd_class);
/********************************
* Command 'read_openfpga_arch'