mirror of
https://github.com/CCExtractor/ccextractor.git
synced 2026-04-24 15:09:55 +00:00
[PR #1160] [MERGED] [FIX] Get rid of a few compilation warnings #1946
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/CCExtractor/ccextractor/pull/1160
Author: @jshin313
Created: 12/28/2019
Status: ✅ Merged
Merged: 12/29/2019
Merged by: @cfsmp3
Base:
master← Head:master📝 Commits (10+)
efda07fAdded underline supportbdf1bc4Added changes to CHANGES.TXT790fbdbDelete CHANGES.TXT~2da2a0cDelete .CHANGES.TXT.un~3dc0ccfUpdate CHANGES.TXT82b3797Merginge11d2d6Changed strncpy to memcpy when the size of the data being transferred is known16d0086Add declaration of struct image_copy before function04563b3Used strdup for duplicating strings857e14bAdded error checking for strdup📊 Changes
3 files changed (+13 additions, -6 deletions)
View changed files
📝
src/lib_ccx/ccx_encoders_spupng.c(+2 -2)📝
src/lib_ccx/ocr.c(+4 -0)📝
src/lib_ccx/params.c(+7 -4)📄 Description
My familiarity with the project is as follows (check one):
The following warnings were displayed after running make on a Debian 9 linux machine using gcc 8.3.0:
The above warnings were fixed by changing strncpy to memcpy.
The next warning was fixed by declaring a struct before a function declaration;
#780
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.