forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commit3db05e7
committed
Suppress compiler warning in new regex match-all detection code.
gcc 10 is smart enough to notice that control could reach this"hasmatch[depth]" assignment with depth < 0, but not smart enoughto know that that would require a badly broken NFA graph. Changethe assert() to a plain runtime test to shut it up.Per report from Andres Freund.Discussion:https://postgr.es/m/20210223173437.b3ywijygsy6q42gq@alap3.anarazel.de1 parentd9d0762 commit3db05e7
1 file changed
+6
-1
lines changedLines changed: 6 additions & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
3082 | 3082 |
| |
3083 | 3083 |
| |
3084 | 3084 |
| |
| 3085 | + | |
| 3086 | + | |
| 3087 | + | |
| 3088 | + | |
| 3089 | + | |
| 3090 | + | |
3085 | 3091 |
| |
3086 |
| - | |
3087 | 3092 |
| |
3088 | 3093 |
| |
3089 | 3094 |
| |
|
0 commit comments
Comments
(0)