Skip to content

Commit 001c513

Browse files
generatedunixname89002005287564facebook-github-bot
authored andcommitted
Fix CQS signal. Id] 93054880 -- readability-redundant-string-init in fbcode/velox/expression/fuzzer (facebookincubator#12997)
Summary: Pull Request resolved: facebookincubator#12997 Reviewed By: dtolnay Differential Revision: D72781552 fbshipit-source-id: c15e1ac531c3baf4f2625dbd41c565162c16b081
1 parent af89078 commit 001c513

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

velox/expression/fuzzer/ExpressionFuzzer.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ class ExpressionFuzzer {
7878
// pool of candidates by a required return type so not all functions may
7979
// compete against the same number of functions at every instance. Number
8080
// of tickets must be a positive integer. Example: eq=3,floor=5
81-
std::string functionTickets = "";
81+
std::string functionTickets;
8282

8383
// Chance of adding a null constant to the plan, or null value in a vector
8484
// (expressed as double from 0 to 1).
@@ -87,7 +87,7 @@ class ExpressionFuzzer {
8787
// If specified, Fuzzer will only choose functions from this comma separated
8888
// list of function names (e.g: --only \"split\" or --only
8989
// \"substr,ltrim\")."
90-
std::string useOnlyFunctions = "";
90+
std::string useOnlyFunctions;
9191

9292
// Comma-separated list of special forms to use in generated expression.
9393
// Supported special forms: and, or, coalesce, if, switch, cast.")

velox/expression/fuzzer/ExpressionFuzzerVerifier.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ class ExpressionFuzzerVerifier {
8787

8888
// Directory path for persistence of data and SQL when fuzzer fails for
8989
// future reproduction. Empty string disables this feature.
90-
std::string reproPersistPath = "";
90+
std::string reproPersistPath;
9191

9292
// Persist repro info before evaluation and only run one iteration.
9393
// This is to rerun with the seed number and persist repro info upon a

0 commit comments

Comments
 (0)