• I
    Fix compile error on platforms without fallocate() · 40cdf797
    Igor Canadi 提交于
    Summary:
    If a platform doesn't have ROCKSDB_FALLOCATE_PRESENT, then compiler complains:
    
    util/env_posix.cc:354:8: error: private field 'allow_fallocate_' is not used [-Werror,-Wunused-private-field]
    
    This was caught by travis.
    
    Test Plan: compiles with ROCKSDB_FALLOCATE_PRESENT.
    
    Reviewers: sdong
    
    Subscribers: dhruba, leveldb
    
    Differential Revision: https://reviews.facebook.net/D48327
    40cdf797
env_posix.cc 48.4 KB