Snippets for veracrypt 1.26.29 from FreeBSD 150arm64
Sourced from https://pkg-status.freebsd.org/ampere5/data/latest-per-pkg/veracrypt/1.26.29/150arm64-default.log.
-
PlatformTest.cpp:283:4: warning: expression result unused [-Wunused-value] 283 | dynamic_cast <RttiTest &> (rttiBaseRef); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
Volume.cpp:126:39: warning: expression with side effects will be evaluated despite being used as an operand to 'typeid' [-Wpotentially-evaluated-expression] 126 | if (skipLayoutV1Normal && typeid (*layout) == typeid (VolumeLayoutV1Normal)) | ^ -
Volume.cpp:177:17: warning: expression with side effects will be evaluated despite being used as an operand to 'typeid' [-Wpotentially-evaluated-expression] 177 | if (typeid (*layout) == typeid (VolumeLayoutV2Normal)) | ^ -
Volume.cpp:192:18: warning: expression with side effects will be evaluated despite being used as an operand to 'typeid' [-Wpotentially-evaluated-expression] 192 | if (typeid (*layout) == typeid (VolumeLayoutV2Normal) && header->GetRequiredMinProgramVersion() < 0x10b) | ^ -
Pkcs5Kdf.cpp:70:16: warning: expression with side effects will be evaluated despite being used as an operand to 'typeid' [-Wpotentially-evaluated-expression] 70 | if (typeid (*kdf->GetHash()) == typeid (hash)) | ^ -
VolumeHeader.cpp:213:27: warning: expression with side effects will be evaluated despite being used as an operand to 'typeid' [-Wpotentially-evaluated-expression] 213 | bool xtsMode = typeid (*mode) == typeid (EncryptionModeXTS); | ^ -
VolumeHeader.cpp:333:15: warning: expression with side effects will be evaluated despite being used as an operand to 'typeid' [-Wpotentially-evaluated-expression] 333 | if (typeid (*mode) == typeid (EncryptionModeXTS)) | ^ -
VolumeHeader.cpp:387:15: warning: expression with side effects will be evaluated despite being used as an operand to 'typeid' [-Wpotentially-evaluated-expression] 387 | if (typeid (*mode) == typeid (EncryptionModeXTS)) | ^