osquery-1/osquery/core/plugins
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
..
tests Update osquery licensing wording (#5452) 2019-02-19 10:59:48 -08:00
BUCK Remove unnecessary internal header definition from core/plugins/BUCK and core/sql/BUCK (#5461) 2019-02-22 05:46:00 -08:00
logger.cpp Update osquery licensing wording (#5452) 2019-02-19 10:59:48 -08:00
logger.h Update osquery licensing wording (#5452) 2019-02-19 10:59:48 -08:00
plugin.cpp Update osquery licensing wording (#5452) 2019-02-19 10:59:48 -08:00
plugin.h Replace Status(0) calls with Status::success() to appease Lint (#5487) 2019-03-01 04:29:33 -08:00
sql.cpp Add Facebook Copyright message to Facebook owned, open-source osquery files (#5445) 2019-02-18 13:51:04 -08:00
sql.h Replace Status(0) calls with Status::success() to appease Lint (#5487) 2019-03-01 04:29:33 -08:00