- Notifications
You must be signed in to change notification settings - Fork5
Commit3ebf2b4
committed
Remove extraneous semicolon from uses of relptr_declare().
If we're going to write a semicolon after calls of relptr_declare(),then we don't need one inside the macro, and removing it suppresses"empty declaration" warnings from pickier compilers (eg pademelon).While at it, we might as well use relptr() inside relptr_declare(),because otherwise that macro would likely go unused altogether.Also improve the comment, which I for one found unclear,and provide a specific example of intended usage.1 parent44a977f commit3ebf2b4
1 file changed
+8
-5
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
16 | 16 | | |
17 | 17 | | |
18 | 18 | | |
19 | | - | |
| 19 | + | |
20 | 20 | | |
21 | 21 | | |
22 | 22 | | |
| |||
29 | 29 | | |
30 | 30 | | |
31 | 31 | | |
32 | | - | |
33 | | - | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
34 | 37 | | |
35 | | - | |
36 | | - | |
| 38 | + | |
| 39 | + | |
37 | 40 | | |
38 | 41 | | |
39 | 42 | | |
| |||
0 commit comments
Comments
(0)