diff options
| author | 2019-05-09 18:30:39 -0400 | |
|---|---|---|
| committer | 2019-05-09 18:33:36 -0400 | |
| commit | c56d893e772617844d7553a79e3a89a6d0a73519 (patch) | |
| tree | 5a69ed3c64c78c2b92ba5c92ab6bbe705c65093c /src | |
| parent | Merge pull request #2437 from lioncash/audctl (diff) | |
| download | yuzu-c56d893e772617844d7553a79e3a89a6d0a73519.tar.gz yuzu-c56d893e772617844d7553a79e3a89a6d0a73519.tar.xz yuzu-c56d893e772617844d7553a79e3a89a6d0a73519.zip | |
video_core/textures/astc: Remove unused variables
Silences a few compilation warnings.
Diffstat (limited to 'src')
| -rw-r--r-- | src/video_core/textures/astc.cpp | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/src/video_core/textures/astc.cpp b/src/video_core/textures/astc.cpp index eafb6b73a..a9b8f69af 100644 --- a/src/video_core/textures/astc.cpp +++ b/src/video_core/textures/astc.cpp | |||
| @@ -25,8 +25,8 @@ | |||
| 25 | 25 | ||
| 26 | class InputBitStream { | 26 | class InputBitStream { |
| 27 | public: | 27 | public: |
| 28 | explicit InputBitStream(const unsigned char* ptr, int nBits = 0, int start_offset = 0) | 28 | explicit InputBitStream(const unsigned char* ptr, int start_offset = 0) |
| 29 | : m_NumBits(nBits), m_CurByte(ptr), m_NextBit(start_offset % 8) {} | 29 | : m_CurByte(ptr), m_NextBit(start_offset % 8) {} |
| 30 | 30 | ||
| 31 | ~InputBitStream() = default; | 31 | ~InputBitStream() = default; |
| 32 | 32 | ||
| @@ -55,12 +55,9 @@ public: | |||
| 55 | } | 55 | } |
| 56 | 56 | ||
| 57 | private: | 57 | private: |
| 58 | const int m_NumBits; | ||
| 59 | const unsigned char* m_CurByte; | 58 | const unsigned char* m_CurByte; |
| 60 | int m_NextBit = 0; | 59 | int m_NextBit = 0; |
| 61 | int m_BitsRead = 0; | 60 | int m_BitsRead = 0; |
| 62 | |||
| 63 | bool done = false; | ||
| 64 | }; | 61 | }; |
| 65 | 62 | ||
| 66 | class OutputBitStream { | 63 | class OutputBitStream { |
| @@ -114,7 +111,6 @@ private: | |||
| 114 | const int m_NumBits; | 111 | const int m_NumBits; |
| 115 | unsigned char* m_CurByte; | 112 | unsigned char* m_CurByte; |
| 116 | int m_NextBit = 0; | 113 | int m_NextBit = 0; |
| 117 | int m_BitsRead = 0; | ||
| 118 | 114 | ||
| 119 | bool done = false; | 115 | bool done = false; |
| 120 | }; | 116 | }; |