Browse Source

Fix compiler warnings (#54)

Fangjun Kuang 2 years ago
parent
commit
f6d3f7698a
1 changed files with 2 additions and 0 deletions
  1. 2 0
      sherpa-ncnn/csrc/generate-int8-scale-table.cc

+ 2 - 0
sherpa-ncnn/csrc/generate-int8-scale-table.cc

@@ -852,6 +852,8 @@ int QuantNet::quantize_KL(const std::vector<std::string> &wave_filenames) {
     joiner_bottom_blob_scales[i].create(1);
     joiner_bottom_blob_scales[i][0] = scale;
   }  // for (int i = 0; i < joiner_conv_bottom_blob_count; i++)
+
+  return 0;
 }
 
 void QuantNet::print_quant_info() const {