diff options
author | Heikki Linnakangas <heikki.linnakangas@iki.fi> | 2017-07-12 12:30:50 +0300 |
---|---|---|
committer | Heikki Linnakangas <heikki.linnakangas@iki.fi> | 2017-07-12 12:31:16 +0300 |
commit | 2c71c883b9844c11bf85328d69e6d624d868ff11 (patch) | |
tree | a00dc43d9ceee40a5b76231bddf892206bed657b | |
parent | 56076b88dae090ec63c19c516d300759c3397c05 (diff) | |
download | postgresql-2c71c883b9844c11bf85328d69e6d624d868ff11.tar.gz |
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
-rw-r--r-- | src/bin/psql/tab-complete.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/src/bin/psql/tab-complete.c b/src/bin/psql/tab-complete.c index 4cb2c49be9..6a8bb0ee99 100644 --- a/src/bin/psql/tab-complete.c +++ b/src/bin/psql/tab-complete.c @@ -3901,13 +3901,9 @@ psql_completion(const char *text, int start, int end) } } else if (strcmp(prev_wd, "\\unset") == 0) - { matches = complete_from_variables(text, "", "", true); - } else if (strcmp(prev_wd, "\\set") == 0) - { matches = complete_from_variables(text, "", "", false); - } else if (strcmp(prev2_wd, "\\set") == 0) { static const char *const boolean_value_list[] = |