forked fromtvondra/shared_ispell
- Notifications
You must be signed in to change notification settings - Fork1
Commita11142e
committed
PGPRO-10866: Use const decoration to avoid warnings:
"passing 'const char *' to parameter of type 'char *' discards qualifiers"[-Wincompatible-pointer-types-discards-qualifiers]And replace palloc0+strcpy with pstrdup. Caused by: - d5f139cb6814f0af2d2e1106899361e45c305630 (PostgreSQL) Constify fields and parameters in spell.cTags: shared_ispell1 parent64ee638 commita11142e
1 file changed
+5
-8
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
80 | 80 | | |
81 | 81 | | |
82 | 82 | | |
83 | | - | |
| 83 | + | |
84 | 84 | | |
85 | 85 | | |
86 | 86 | | |
| |||
346 | 346 | | |
347 | 347 | | |
348 | 348 | | |
349 | | - | |
| 349 | + | |
350 | 350 | | |
351 | 351 | | |
352 | | - | |
353 | | - | |
354 | | - | |
355 | | - | |
| 352 | + | |
356 | 353 | | |
357 | 354 | | |
358 | 355 | | |
| |||
709 | 706 | | |
710 | 707 | | |
711 | 708 | | |
712 | | - | |
| 709 | + | |
713 | 710 | | |
714 | 711 | | |
715 | 712 | | |
| |||
821 | 818 | | |
822 | 819 | | |
823 | 820 | | |
824 | | - | |
| 821 | + | |
825 | 822 | | |
826 | 823 | | |
827 | 824 | | |
| |||
0 commit comments
Comments
(0)