forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commit302612a
committed
Silence minor compiler warnings.
Depending on compiler version and optimization level, we mightget a complaint that lazy_scan_heap's "freespace" is useduninitialized.Compilers not aware that ereport(ERROR) doesn't return complainedabout bbsink_lz4_new().Assigning "-1" to a uint64 value has unportable results; fortunately,the value of xlogreadsegno is unimportant when xlogreadfd is -1.(It looks to me like there is no need for xlogreadsegno to be staticin the first place, but I didn't venture to change that.)1 parentf79c94f commit302612a
File tree
3 files changed
+3
-2
lines changed- src
- backend
- access/heap
- replication
- bin/pg_rewind
3 files changed
+3
-2
lines changedLines changed: 1 addition & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
1112 | 1112 |
| |
1113 | 1113 |
| |
1114 | 1114 |
| |
1115 |
| - | |
| 1115 | + | |
1116 | 1116 |
| |
1117 | 1117 |
| |
1118 | 1118 |
| |
|
Lines changed: 1 addition & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
66 | 66 |
| |
67 | 67 |
| |
68 | 68 |
| |
| 69 | + | |
69 | 70 |
| |
70 | 71 |
| |
71 | 72 |
| |
|
Lines changed: 1 addition & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
38 | 38 |
| |
39 | 39 |
| |
40 | 40 |
| |
41 |
| - | |
| 41 | + | |
42 | 42 |
| |
43 | 43 |
| |
44 | 44 |
| |
|
0 commit comments
Comments
(0)