sapling/eden/fs
Xavier Deguillard 74a34dd8c4 fs: default initialize XdrVariant
Summary:
My understanding of C++ not being perfect, I thought that these 2 fields would
be default initialized, but it turns out this is wrong, and the values of these
would be whatever is on the stack at the time a non-initialized variant is
used. The XdrSerialize variant test exercise this case and fails when optimized
due to that, this change fixes it.

Reviewed By: chadaustin, fanzeyi

Differential Revision: D26371695

fbshipit-source-id: 489cac846b51508809783bb577c7a97c4e6c060a
2021-02-10 13:18:46 -08:00
..
benchharness add 4k random writes benchmark 2020-07-14 16:13:37 -07:00
benchmarks Remove dead includes in eden 2020-10-09 15:25:47 -07:00
cli test: type-check cli_test 2021-02-10 08:49:51 -08:00
config nfs: controls whether Mountd should register itself with rpcbind 2021-02-03 17:54:55 -08:00
docs run linter in eden/fs/docs 2021-01-25 16:13:54 -08:00
fuse inodes: move dispatchers around 2021-02-10 11:52:06 -08:00
inodes inodes: move dispatchers around 2021-02-10 11:52:06 -08:00
journal record all commit transitions in the journal 2021-02-04 18:38:35 -08:00
model model: remove test-only constructor for TreeEntry 2021-01-05 14:08:14 -08:00
monitor Apply clang-format update fixes 2021-01-10 10:06:29 -08:00
nfs fs: default initialize XdrVariant 2021-02-10 13:18:46 -08:00
notifications notifications: support Windows 2020-11-11 09:37:56 -08:00
prjfs inodes: move dispatchers around 2021-02-10 11:52:06 -08:00
py run linter in eden/fs/py 2021-01-25 16:13:55 -08:00
rocksdb Remove dead includes in eden 2019-10-11 16:45:01 -07:00
scripts move eden/scripts/ into eden/fs/ 2020-11-04 18:29:49 -08:00
service nfs: add NfsServer class 2021-02-09 12:47:11 -08:00
sqlite remove dependency on glog 2020-11-10 16:31:15 -08:00
store rate limit logging 2021-01-29 14:34:23 -08:00
takeover Apply clang-format update fixes 2021-01-10 10:06:29 -08:00
telemetry implement FUSE_FALLOCATE 2021-01-20 19:04:59 -08:00
testharness inodes: move dispatchers around 2021-02-10 11:52:06 -08:00
third-party eden: support NO_OPEN support on macOS 2020-07-27 17:53:03 -07:00
utils Rename Try::throwIfFailed -> throwUnlessValue 2021-01-11 13:05:17 -08:00
CMakeLists.txt nfs: make it compile with getdeps builds 2021-02-03 17:54:54 -08:00