forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commit5f1ab46
committed
Suppress a couple of compiler warnings seen with older gcc versions.
To wit,bgworker.c: In function `RegisterDynamicBackgroundWorker':bgworker.c:761: warning: `generation' might be used uninitialized in this functiondsm_impl.c: In function `dsm_impl_op':dsm_impl.c:197: warning: control reaches end of non-void functionNeither of these represent actual bugs, but we may as well tweak the codeso that more compilers can tell that. This won't change the generated codeon compilers that do recognize that the cases are unreachable.1 parent2c66f99 commit5f1ab46
2 files changed
+5
-3
lines changedLines changed: 1 addition & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
758 | 758 |
| |
759 | 759 |
| |
760 | 760 |
| |
761 |
| - | |
| 761 | + | |
762 | 762 |
| |
763 | 763 |
| |
764 | 764 |
| |
|
Lines changed: 4 additions & 2 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
191 | 191 |
| |
192 | 192 |
| |
193 | 193 |
| |
| 194 | + | |
| 195 | + | |
| 196 | + | |
| 197 | + | |
194 | 198 |
| |
195 |
| - | |
196 |
| - | |
197 | 199 |
| |
198 | 200 |
| |
199 | 201 |
| |
|
0 commit comments
Comments
(0)