Skip to content

Commit

Permalink
fix clippy
Browse files Browse the repository at this point in the history
Signed-off-by: Richard Chien <[email protected]>
  • Loading branch information
stdrc committed Aug 14, 2024
1 parent aafb024 commit 2d05a9f
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions src/sqlparser/src/parser.rs
Original file line number Diff line number Diff line change
Expand Up @@ -4983,11 +4983,7 @@ impl Parser<'_> {
vec![]
};

let ignore_nulls = if self.parse_keywords(&[Keyword::IGNORE, Keyword::NULLS]) {
true
} else {
false
};
let ignore_nulls = self.parse_keywords(&[Keyword::IGNORE, Keyword::NULLS]);

let arg_list = FunctionArgList {
distinct,
Expand Down

0 comments on commit 2d05a9f

Please sign in to comment.