1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 12:17:44 +00:00

Userland: Fix some weird syntax in find

Spotted this while trying to fix a bug. clang-format approved.
This commit is contained in:
Valtteri Koskivuori 2021-05-07 22:45:26 +03:00 committed by Andreas Kling
parent 867072c7d8
commit 9e49895bbf

View file

@ -363,9 +363,10 @@ static OwnPtr<Command> parse_complex_command(char* argv[])
while (command && argv[optind] && argv[optind + 1]) { while (command && argv[optind] && argv[optind + 1]) {
StringView arg = argv[++optind]; StringView arg = argv[++optind];
enum { And, enum {
Or } binary_operation And,
= And; Or,
} binary_operation { And };
if (arg == "-a") { if (arg == "-a") {
optind++; optind++;