mirror of
https://github.com/valitydev/osquery-1.git
synced 2024-11-07 18:08:53 +00:00
5ef576a99c
Consider this PR as a cosmetic one. Creating Status class object in the code is not so clear. It is not so obvious that defatult costructed Status is success. Also it is not obvious that status with zero code is success and non-zero is failure. To fix it I created 2 static methods to make construction of some particular status clear to reader. * Use assert to check code in Status::failure in debut mode * Rename success_code constant to kSuccessCode according to style guide |
||
---|---|---|
.. | ||
carver | ||
config | ||
core | ||
database | ||
devtools | ||
dispatcher | ||
distributed | ||
events | ||
examples | ||
extensions | ||
filesystem | ||
logger | ||
main | ||
registry | ||
remote | ||
sql | ||
tables | ||
tests | ||
utils | ||
CMakeLists.txt |