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

#33: Fix benign compiler warning #34

Merged
merged 1 commit into from
Nov 9, 2018
Merged

Conversation

StefansM
Copy link
Contributor

@StefansM StefansM commented Nov 9, 2018

Prefer strcpy rather than strncpy when the destination array bounds have already been checked. This avoids the spurious compiler warning stringop-truncation.

Fixes #33

Prefer `strcpy` rather than `strncpy` when the destination array bounds
have already been checked. This avoids the spurious compiler warning
`stringop-truncation`.
@StefansM StefansM merged commit 277eef8 into pipeseroni:master Nov 9, 2018
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