forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commit2771fce
committed
Fix issue with --enable-coverage and the new unicode {de,re}composition code
genhtml has been generating the following warning with this new code:WARNING: function data mismatch at /path/src/common/unicode_norm.c:102HTML coverage reports care about the uniqueness of functions defined insource files, ignoring any assumptions around CFLAGS.783f0ccintroduced a duplicated definition of get_code_entry(), leading to awarning and potentially some incorrect data generated in the reports.This refactors the code so as the code has only one functiondeclaration, fixing the warning.Oversight in783f0cc.Reported-by: Tom LaneAuthor: Michael PaquierReviewed-by: Tom LaneDiscussion:https://postgr.es/m/207789.1603469272@sss.pgh.pa.us1 parent0b46e82 commit2771fce
1 file changed
+17
-21
lines changedLines changed: 17 additions & 21 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
46 | 46 |
| |
47 | 47 |
| |
48 | 48 |
| |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
49 | 64 |
| |
50 | 65 |
| |
51 | 66 |
| |
52 | 67 |
| |
53 | 68 |
| |
54 | 69 |
| |
55 | 70 |
| |
56 |
| - | |
57 |
| - | |
58 | 71 |
| |
59 | 72 |
| |
60 | 73 |
| |
| 74 | + | |
61 | 75 |
| |
62 | 76 |
| |
63 | 77 |
| |
| |||
82 | 96 |
| |
83 | 97 |
| |
84 | 98 |
| |
85 |
| - | |
86 |
| - | |
87 | 99 |
| |
88 |
| - | |
89 |
| - | |
90 |
| - | |
91 |
| - | |
92 |
| - | |
93 |
| - | |
94 |
| - | |
95 |
| - | |
96 |
| - | |
97 |
| - | |
98 |
| - | |
99 |
| - | |
100 |
| - | |
101 |
| - | |
102 |
| - | |
103 |
| - | |
104 | 100 |
| |
105 | 101 |
| |
106 | 102 |
| |
107 | 103 |
| |
108 | 104 |
| |
| 105 | + | |
109 | 106 |
| |
110 | 107 |
| |
111 |
| - | |
112 | 108 |
| |
113 | 109 |
| |
114 | 110 |
| |
|
0 commit comments
Comments
(0)