diff options
author | Amin Hassani <ahassani@google.com> | 2018-03-02 00:40:11 +0000 |
---|---|---|
committer | android-build-merger <android-build-merger@google.com> | 2018-03-02 00:40:11 +0000 |
commit | 81bbd2a68178dcf33b0e258bc3cec5df98e9dc5b (patch) | |
tree | 7eef3e7a0c4fafe195e6b5cc9a519ca4161721aa | |
parent | d87fbb6ae34048bbf432bf4d41878e1bdd320e28 (diff) | |
parent | 20bdc7cbf417b5cc93fb6abe110c233cde4b7cd0 (diff) | |
download | platform_external_puffin-81bbd2a68178dcf33b0e258bc3cec5df98e9dc5b.tar.gz platform_external_puffin-81bbd2a68178dcf33b0e258bc3cec5df98e9dc5b.tar.bz2 platform_external_puffin-81bbd2a68178dcf33b0e258bc3cec5df98e9dc5b.zip |
Remove a check and a warning log
am: 20bdc7cbf4
Change-Id: Ic64a2b050c046122e2eff78a38453abe1af3ee4c
-rw-r--r-- | src/huffman_table.cc | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/src/huffman_table.cc b/src/huffman_table.cc index 1edb268..6e711c6 100644 --- a/src/huffman_table.cc +++ b/src/huffman_table.cc @@ -65,13 +65,6 @@ bool HuffmanTable::InitHuffmanCodes(const Buffer& lens, size_t* max_bits) { } } - // No codes found! However, This is not invalid because you can have no - // length/distance codes in a block (all literals). - if (lens.size() == len_count_[0]) { - LOG(WARNING) - << "No non-zero lengths are given in the Huffman code Length array."; - } - // Check for oversubscribed code lengths. (A code with length 'L' cannot have // more than 2^L items. for (size_t idx = 1; idx <= *max_bits; idx++) { |