Removed unused variable.

pull/13171/head
Joshua Haberman 6 years ago
parent 1d4957a9a6
commit ba03d65a8f
  1. 1
      CMakeLists.txt
  2. 2
      tests/conformance_upb.c
  3. 1
      upb/bindings/lua/upb/pb.c

@ -48,6 +48,7 @@ endif()
include_directories(.)
include_directories(${CMAKE_CURRENT_BINARY_DIR})
set(CMAKE_CXX_FLAGS "-std=c++11 -W -Wall -Wno-sign-compare")
set(CMAKE_C_FLAGS "-std=c89 -W -Wall -Wno-sign-compare")
if(APPLE)
set(CMAKE_SHARED_LINKER_FLAGS "${CMAKE_SHARED_LINKER_FLAGS} -undefined dynamic_lookup -flat_namespace")

@ -141,7 +141,7 @@ bool DoTestIo() {
conformance_ConformanceResponse *response;
if (!CheckedRead(STDIN_FILENO, &input_size, sizeof(uint32_t))) {
// EOF.
/* EOF. */
return false;
}

@ -29,7 +29,6 @@ static int lupb_pb_encode(lua_State *L) {
const upb_msg *msg = lupb_msg_checkmsg2(L, 1, &layout);
upb_arena arena;
size_t size;
upb_status status = UPB_STATUS_INIT;
char *result;
upb_arena_init(&arena);

Loading…
Cancel
Save