Commit 9e7acd4b authored by Kenton Varda's avatar Kenton Varda

Fix some warnings.

parent 5b8035fa
......@@ -99,8 +99,6 @@ TEST(WireFormat, SimpleRawDataStruct) {
}
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<3> STRUCTLIST_ELEMENT_DEFAULT =
{{0,0,0,0,1,0,1,0, 0,0,0,0,0,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}};
......
......@@ -178,6 +178,7 @@ size_t PackedInputStream::read(void* dst, size_t minBytes, size_t maxBytes) {
}
FAIL_CHECK("Can't get here.");
return 0; // GCC knows FAIL_CHECK doesn't return, but Eclipse CDT still warns...
#undef REFRESH_BUFFER
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment