Reduce build warnings and enable Qt build

This commit is contained in:
root
2026-04-28 16:50:31 +00:00
parent 34864c5254
commit 43b88c7110
43 changed files with 164 additions and 87 deletions
+8 -8
View File
@@ -592,11 +592,11 @@ bool GenerateAccumulatorWitness(CoinWitnessData* coinWitness, AccumulatorMap& ma
return true;
// TODO: I know that could merge all of this exception but maybe it's not really good.. think if we should have a different treatment for each one
} catch (searchMintHeightException e) {
} catch (const searchMintHeightException& e) {
return error("%s: searchMintHeightException: %s", __func__, e.message);
} catch (ChecksumInDbNotFoundException e) {
} catch (const ChecksumInDbNotFoundException& e) {
return error("%s: ChecksumInDbNotFoundException: %s", __func__, e.message);
} catch (GetPubcoinException e) {
} catch (const GetPubcoinException& e) {
return error("%s: GetPubcoinException: %s", __func__, e.message);
}
}
@@ -790,9 +790,9 @@ bool CalculateAccumulatorWitnessFor(
return true;
} catch (ChecksumInDbNotFoundException e) {
} catch (const ChecksumInDbNotFoundException& e) {
return error("%s: ChecksumInDbNotFoundException: %s", __func__, e.message);
} catch (GetPubcoinException e) {
} catch (const GetPubcoinException& e) {
return error("%s: GetPubcoinException: %s", __func__, e.message);
}
}
@@ -877,11 +877,11 @@ bool GenerateAccumulatorWitness(
return true;
// TODO: I know that could merge all of this exception but maybe it's not really good.. think if we should have a different treatment for each one
} catch (searchMintHeightException e) {
} catch (const searchMintHeightException& e) {
return error("%s: searchMintHeightException: %s", __func__, e.message);
} catch (ChecksumInDbNotFoundException e) {
} catch (const ChecksumInDbNotFoundException& e) {
return error("%s: ChecksumInDbNotFoundException: %s", __func__, e.message);
} catch (GetPubcoinException e) {
} catch (const GetPubcoinException& e) {
return error("%s: GetPubcoinException: %s", __func__, e.message);
}
}