Skip to content

Commit 4ddc6a2

Browse files
committed
Remove unnecessary braces, to match the surrounding style.
Mostly in the new subscription-related commands. Backport the few that were also present in older versions. Thomas Munro Discussion: https://www.postgresql.org/message-id/CAEepm=3CyW1QmXcXJXmqiJXtXzFDc8SvSfnxkEGD3Bkv2SrkeQ@mail.gmail.com
1 parent a835855 commit 4ddc6a2

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

src/bin/psql/tab-complete.c

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3526,9 +3526,7 @@ psql_completion(const char *text, int start, int end)
35263526
}
35273527
}
35283528
else if (strcmp(prev_wd, "\\set") == 0)
3529-
{
35303529
matches = complete_from_variables(text, "", "");
3531-
}
35323530
else if (strcmp(prev_wd, "\\sf") == 0 || strcmp(prev_wd, "\\sf+") == 0)
35333531
COMPLETE_WITH_SCHEMA_QUERY(Query_for_list_of_functions, NULL);
35343532
else if (strcmp(prev_wd, "\\cd") == 0 ||

0 commit comments

Comments
 (0)