Skip to content

CLN: fix compiler warnings in tzconversion.pyx #27412

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 4 commits into from Jul 16, 2019
Merged

CLN: fix compiler warnings in tzconversion.pyx #27412

merged 4 commits into from Jul 16, 2019

Conversation

ghost
Copy link

@ghost ghost commented Jul 16, 2019

Fixes

pandas/_libs/tslibs/tzconversion.c:3157:21: warning: ‘__pyx_pybuffernd_dst_hours.diminfo[0].strides’ may be used uninitialized in this function [-Wmaybe-uninitialized]
 3157 |   __Pyx_LocalBuf_ND __pyx_pybuffernd_dst_hours;
      |                     ^~~~~~~~~~~~~~~~~~~~~~~~~~
pandas/_libs/tslibs/tzconversion.c:3149:21: warning: ‘__pyx_pybuffernd_ambiguous_array.diminfo[0].strides’ may be used uninitialized in this function [-Wmaybe-uninitialized]
 3149 |   __Pyx_LocalBuf_ND __pyx_pybuffernd_ambiguous_array;

@jbrockmendel
Copy link
Member

LGTM

@jreback jreback added Build Library building on various platforms Clean labels Jul 16, 2019
@jreback jreback added this to the 0.25.0 milestone Jul 16, 2019
@jreback jreback merged commit 26bd34d into pandas-dev:master Jul 16, 2019
@jreback
Copy link
Contributor

jreback commented Jul 16, 2019

thanks

@ghost ghost deleted the warning branch July 16, 2019 20:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Build Library building on various platforms Clean
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants