- Notifications
You must be signed in to change notification settings - Fork28
Commitd89746c
committed
Fix compiler warning.
Kevin Gritter reports that his compiler complains about inq and outqbeing possibly-uninitialized at the point where they are passed toshm_mq_attach(). They are initialized by the call tosetup_dynamic_shared_memory, but apparently his compiler is inliningthat function and then having doubts about whether the for loop willalways execute at least once. Fix by initializing them to NULL.1 parentbe361ef commitd89746c
1 file changed
+2
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
50 | 50 | | |
51 | 51 | | |
52 | 52 | | |
53 | | - | |
54 | | - | |
| 53 | + | |
| 54 | + | |
55 | 55 | | |
56 | 56 | | |
57 | 57 | | |
| |||
0 commit comments
Comments
(0)