osquery-1/osquery/utils
Jesse Kornblum ecbc65cf39 Replace Status(0) calls with Status::success() to appease Lint (#5487)
Summary:
Pull Request resolved: https://github.com/facebook/osquery/pull/5487

I got tired of Lint telling me to update the calls to the Status class, so I wrote some codemods to update the vast majority of them:

  $ cd ~/fbsource
  $ codemod -d xplat/osquery/oss/osquery --extensions cpp,h "return Status\(0\, \".*\"\);" "return Status::success();"

**Blindly accepted all changes**.

FWIW, I tried to do something similar with the failure return values, but the unit tests were failing afterward.

Reviewed By: guliashvili

Differential Revision: D14278739

fbshipit-source-id: b023f6e969be697eeb67d66ea3ad10d16c69ff0c
2019-03-01 04:29:33 -08:00
..
aws Replace Status(0) calls with Status::success() to appease Lint (#5487) 2019-03-01 04:29:33 -08:00
config Update osquery licensing wording (#5452) 2019-02-19 10:59:48 -08:00
conversions Custom cast so that 0.0 as a double casts as "0.0" 2019-02-22 10:23:07 -08:00
darwin Update osquery licensing wording (#5452) 2019-02-19 10:59:48 -08:00
debug Update osquery licensing wording (#5452) 2019-02-19 10:59:48 -08:00
error Update osquery licensing wording (#5452) 2019-02-19 10:59:48 -08:00
expected Update osquery licensing wording (#5452) 2019-02-19 10:59:48 -08:00
info Define osquery version on base.cfg (#5478) 2019-02-27 11:23:03 -08:00
json Update osquery licensing wording (#5452) 2019-02-19 10:59:48 -08:00
macros Update osquery licensing wording (#5452) 2019-02-19 10:59:48 -08:00
status Update osquery licensing wording (#5452) 2019-02-19 10:59:48 -08:00
system Update osquery licensing wording (#5452) 2019-02-19 10:59:48 -08:00
tests Update osquery licensing wording (#5452) 2019-02-19 10:59:48 -08:00
versioning Update osquery licensing wording (#5452) 2019-02-19 10:59:48 -08:00
attribute.h Update osquery licensing wording (#5452) 2019-02-19 10:59:48 -08:00
base64.cpp Update osquery licensing wording (#5452) 2019-02-19 10:59:48 -08:00
base64.h Update osquery licensing wording (#5452) 2019-02-19 10:59:48 -08:00
BUCK Add thirdparty [boost] dependency to osquery/utils:utils 2019-02-12 04:08:17 -08:00
chars.cpp Update osquery licensing wording (#5452) 2019-02-19 10:59:48 -08:00
chars.h Update osquery licensing wording (#5452) 2019-02-19 10:59:48 -08:00
enum_class_hash.h Update osquery licensing wording (#5452) 2019-02-19 10:59:48 -08:00
map_take.h Update osquery licensing wording (#5452) 2019-02-19 10:59:48 -08:00
mutex.h Update osquery licensing wording (#5452) 2019-02-19 10:59:48 -08:00
only_movable.cpp Update osquery licensing wording (#5452) 2019-02-19 10:59:48 -08:00
only_movable.h Update osquery licensing wording (#5452) 2019-02-19 10:59:48 -08:00
scope_guard.h Update osquery licensing wording (#5452) 2019-02-19 10:59:48 -08:00