Skip to content
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

Raw.xs: cleanup clang warning #32

Merged
merged 1 commit into from Jan 31, 2014
Merged

Raw.xs: cleanup clang warning #32

merged 1 commit into from Jan 31, 2014

Conversation

plicease
Copy link
Contributor

This fixes these warnings produced by clang:

clang -c  -I. -Ixs -Ixs/libffi/include -fno-strict-aliasing -pipe -fstack-protector -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2   -DVERSION=\"0.26\" -DXS_VERSION=\"0.26\" -fPIC "-I/home/ollisg/perl5/perlbrew/perls/perl-5.18.2c/lib/5.18.2/x86_64-linux/CORE"   Raw.c
Raw.xs:225:21: warning: format string is not a string literal (potentially insecure) [-Wformat-security]
                        Perl_croak(aTHX_ error);
                                         ^~~~~
Raw.xs:230:21: warning: format string is not a string literal (potentially insecure) [-Wformat-security]
                        Perl_croak(aTHX_ error);
                                         ^~~~~
2 warnings generated.

@ghedo ghedo merged commit cc7b6f6 into ghedo:master Jan 31, 2014
@ghedo
Copy link
Owner

ghedo commented Jan 31, 2014

Merged, thanks!

@plicease plicease deleted the clang_warning branch January 31, 2014 20:00
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.

None yet

2 participants