forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commitc7f5c58
committed
PL/Python: Fix remaining scan-build warnings
Apparently, scan-build thinks that proc->is_setof can change duringPLy_exec_function(). To make it clearer, save the value in a localvariable.Also add an assertion to clear another warning.Reviewed-by: John Naylor <jcnaylor@gmail.com>1 parentcdddd5d commitc7f5c58
1 file changed
+4
-2
lines changedLines changed: 4 additions & 2 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
57 | 57 |
| |
58 | 58 |
| |
59 | 59 |
| |
| 60 | + | |
60 | 61 |
| |
61 | 62 |
| |
62 | 63 |
| |
| |||
73 | 74 |
| |
74 | 75 |
| |
75 | 76 |
| |
76 |
| - | |
| 77 | + | |
77 | 78 |
| |
78 | 79 |
| |
79 | 80 |
| |
| |||
93 | 94 |
| |
94 | 95 |
| |
95 | 96 |
| |
| 97 | + | |
96 | 98 |
| |
97 | 99 |
| |
98 | 100 |
| |
| |||
125 | 127 |
| |
126 | 128 |
| |
127 | 129 |
| |
128 |
| - | |
| 130 | + | |
129 | 131 |
| |
130 | 132 |
| |
131 | 133 |
| |
|
0 commit comments
Comments
(0)