forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commit6b4a176
committed
Silence compiler warnings
In GetCachedPlan(), initialize 'plan' to silence a compiler warning, butalso add an Assert() to make sure we don't ever actually fall throughwith 'plan' still being set to NULL, since we are about to dereferenceit.Back-patch back to 9.2.Author: Stephen FrostDiscussion:https://postgr.es/m/20161129152102.GR13284%40tamriel.snowman.net1 parent3f94796 commit6b4a176
1 file changed
+3
-1
lines changedLines changed: 3 additions & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
1093 | 1093 |
| |
1094 | 1094 |
| |
1095 | 1095 |
| |
1096 |
| - | |
| 1096 | + | |
1097 | 1097 |
| |
1098 | 1098 |
| |
1099 | 1099 |
| |
| |||
1175 | 1175 |
| |
1176 | 1176 |
| |
1177 | 1177 |
| |
| 1178 | + | |
| 1179 | + | |
1178 | 1180 |
| |
1179 | 1181 |
| |
1180 | 1182 |
| |
|
0 commit comments
Comments
(0)