From 5b3e8f113252deff5a27045aec1854e281fa0a99 Mon Sep 17 00:00:00 2001 From: Kyle Manna Date: Mon, 17 Aug 2015 18:49:48 -0700 Subject: [PATCH] test: Remove unused variables * Never referenced and generate warnings on modern compilers * Tested on gcc-5.2.0 and clang-3.6.2 --- capn-test.cpp | 4 ---- 1 file changed, 4 deletions(-) diff --git a/capn-test.cpp b/capn-test.cpp index 0d94997..d6dee21 100644 --- a/capn-test.cpp +++ b/capn-test.cpp @@ -63,10 +63,6 @@ TEST(WireFormat, SimpleRawDataStruct) { EXPECT_EQ(UINT16_C(0), capn_read16(ptr, 8)); } -static const AlignedData<2> SUBSTRUCT_DEFAULT = {{0,0,0,0,1,0,0,0, 0,0,0,0,0,0,0,0}}; -static const AlignedData<2> STRUCTLIST_ELEMENT_SUBSTRUCT_DEFAULT = - {{0,0,0,0,1,0,0,0, 0,0,0,0,0,0,0,0}}; - static void setupStruct(struct capn *ctx) { struct capn_ptr root = capn_root(ctx); ASSERT_EQ(CAPN_PTR_LIST, root.type);