Skip to content

Commit

Permalink
remove no longer used function and gate -Wno-unused-but-set-variable …
Browse files Browse the repository at this point in the history
…to avoid windows errors
  • Loading branch information
cosmin committed Jul 12, 2023
1 parent 521840c commit 7598735
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
4 changes: 0 additions & 4 deletions packager/media/base/aes_encryptor.h
Original file line number Diff line number Diff line change
Expand Up @@ -89,10 +89,6 @@ class AesCbcEncryptor : public AesCryptor {
size_t plaintext_size,
uint8_t* ciphertext,
size_t* ciphertext_size) override;
bool CryptInternal0(const uint8_t* plaintext,
size_t plaintext_size,
uint8_t* ciphertext,
size_t* ciphertext_size);
void SetIvInternal() override;
size_t NumPaddingBytes(size_t size) const override;

Expand Down
6 changes: 5 additions & 1 deletion packager/third_party/mbedtls/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -14,5 +14,9 @@ set(ENABLE_TESTING OFF)
set(GEN_FILES OFF)

# With these set in scope of this folder, load the library's own CMakeLists.txt.
add_compile_options(-Wno-unused-but-set-variable)

if(NOT MSVC)
add_compile_options(-Wno-unused-but-set-variable)
endif()

add_subdirectory(source)

0 comments on commit 7598735

Please sign in to comment.