mirror of
https://github.com/yuzu-emu/breakpad.git
synced 2025-11-25 21:46:19 +00:00
map_serializers_unittest: fix unused variable warning
Building with clang triggers warnings (which for us breaks the build):
src/processor/map_serializers_unittest.cc:52:11: error:
unused variable 'kSizeOfInt' [-Werror,-Wunused-const-variable]
1 error generated.
Fix by Yunlian Jiang.
BUG=chromium:311720 (http://crbug.com/311720)
TEST=FEATURES="test" emerge-lumpy google-breakpad passes
git-svn-id: http://google-breakpad.googlecode.com/svn/trunk@1229 4c0a9323-5329-0410-9bdc-e9ce6186880e
This commit is contained in:
parent
32cbf9fc88
commit
bf139abc7d
|
|
@ -49,8 +49,6 @@
|
||||||
typedef int32_t AddrType;
|
typedef int32_t AddrType;
|
||||||
typedef int32_t EntryType;
|
typedef int32_t EntryType;
|
||||||
|
|
||||||
const int kSizeOfInt = 4;
|
|
||||||
|
|
||||||
class TestStdMapSerializer : public ::testing::Test {
|
class TestStdMapSerializer : public ::testing::Test {
|
||||||
protected:
|
protected:
|
||||||
void SetUp() {
|
void SetUp() {
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue