Skip to content

Conversation

@andersk
Copy link

@andersk andersk commented Jul 19, 2013

Fixes

warning: afs/_util.pyx:15:5: Function 'pioctl_read' previously declared as 'private'
warning: afs/_util.pyx:29:5: Function 'pioctl_write' previously declared as 'private'
warning: afs/_pts.pyx:115:8: Unreachable code
warning: afs/_pts.pyx:130:8: Unreachable code
afs/_pts.c: In function ‘__pyx_pf_3afs_4_pts_3PTS___cinit__’:
afs/_pts.c:2999:56: warning: ‘__pyx_v_sc’ may be used uninitialized in this function [-Wmaybe-uninitialized]
     (__pyx_v_serverconns[__pyx_v_i]) = rx_NewConnection((__pyx_v_info.hostAddr[__pyx_v_i]).sin_addr.s_addr, (__pyx_v_info.hostAddr[__pyx_v_i]).sin_port, PRSRV, __pyx_v_sc, __pyx_t_9);
                                                        ^

andersk added 3 commits July 19, 2013 18:16
Fixes
warning: afs/_pts.pyx:115:8: Unreachable code
warning: afs/_pts.pyx:130:8: Unreachable code

Signed-off-by: Anders Kaseorg <[email protected]>
Fixes
warning: afs/_util.pyx:15:5: Function 'pioctl_read' previously declared as 'private'
warning: afs/_util.pyx:29:5: Function 'pioctl_write' previously declared as 'private'

Signed-off-by: Anders Kaseorg <[email protected]>
Previously, PTS.__cinit__ would leave sc uninitialized when passed an
invalid negative sec argument.

Fixes
afs/_pts.c: In function ‘__pyx_pf_3afs_4_pts_3PTS___cinit__’:
afs/_pts.c:2999:56: warning: ‘__pyx_v_sc’ may be used uninitialized in this function [-Wmaybe-uninitialized]
     (__pyx_v_serverconns[__pyx_v_i]) = rx_NewConnection((__pyx_v_info.hostAddr[__pyx_v_i]).sin_addr.s_addr, (__pyx_v_info.hostAddr[__pyx_v_i]).sin_port, PRSRV, __pyx_v_sc, __pyx_t_9);
                                                        ^

Signed-off-by: Anders Kaseorg <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant