diff options
author | Feng Xiao <xfxyjwf@gmail.com> | 2014-12-02 15:28:11 -0800 |
---|---|---|
committer | Feng Xiao <xfxyjwf@gmail.com> | 2014-12-02 15:28:11 -0800 |
commit | 9173ba22a9ff70697cea92356b9b96cdff71e4ca (patch) | |
tree | fdb325476a27ec1ac6b408847912a06108fbc8fa /src/google/protobuf/arena.cc | |
parent | 7f2a9fb1af432a9831b3e6769905601d72c29796 (diff) |
Get rid of some build warnings.
Diffstat (limited to 'src/google/protobuf/arena.cc')
-rw-r--r-- | src/google/protobuf/arena.cc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/google/protobuf/arena.cc b/src/google/protobuf/arena.cc index be0d9e34..1cb6441e 100644 --- a/src/google/protobuf/arena.cc +++ b/src/google/protobuf/arena.cc @@ -46,10 +46,10 @@ void Arena::Init(const ArenaOptions& options) { max_block_size_ = options.max_block_size; block_alloc = options.block_alloc; block_dealloc = options.block_dealloc; - blocks_ = NULL; - hint_ = NULL; + blocks_ = 0; + hint_ = 0; owns_first_block_ = true; - cleanup_list_ = NULL; + cleanup_list_ = 0; if (options.initial_block != NULL && options.initial_block_size > 0) { // Add first unowned block to list. |