forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commit2c0c98e
Remove a few unused global variables and declarations.
- Commit3eb77eb, which moved the pending ops queue from md.c to sync.c, introduced a duplicate, unused 'pendingOpsCxt' variable. (I'm surprised none of the compilers or static analysis tools have complained about that.)- Commitc2fe139 moved the 'synchronize_seqscans' variable and introduced an extern declaration in tableam.h, making the one in guc_tables.c unnecessary.- Commit6f0cf87 removed the 'pgstat_temp_directory' GUC, but forgot to remove the corresponding global variable.- Commit1b4e729 removed the 'pg_krb_realm' GUC, and its global variable, but forgot the declaration in auth.h.Spotted all these by reading the code.1 parent2b4d535 commit2c0c98e
File tree
3 files changed
+0
-6
lines changed- src
- backend
- storage/sync
- utils/misc
- include/libpq
3 files changed
+0
-6
lines changedLines changed: 0 additions & 2 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
37 | 37 |
| |
38 | 38 |
| |
39 | 39 |
| |
40 |
| - | |
41 |
| - | |
42 | 40 |
| |
43 | 41 |
| |
44 | 42 |
| |
|
Lines changed: 0 additions & 3 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
97 | 97 |
| |
98 | 98 |
| |
99 | 99 |
| |
100 |
| - | |
101 | 100 |
| |
102 | 101 |
| |
103 | 102 |
| |
| |||
530 | 529 |
| |
531 | 530 |
| |
532 | 531 |
| |
533 |
| - | |
534 |
| - | |
535 | 532 |
| |
536 | 533 |
| |
537 | 534 |
| |
|
Lines changed: 0 additions & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
19 | 19 |
| |
20 | 20 |
| |
21 | 21 |
| |
22 |
| - | |
23 | 22 |
| |
24 | 23 |
| |
25 | 24 |
| |
|
0 commit comments
Comments
(0)