mirror of
https://github.com/gnustep/tools-make.git
synced 2025-06-04 11:11:10 +00:00
avoid some compiler warnings
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/tools/make/trunk@32487 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
4428ee9679
commit
0c983b6862
3 changed files with 8 additions and 5 deletions
|
@ -315,7 +315,7 @@ static void testStart()
|
|||
unsigned _save_indentation = testIndentation; \
|
||||
int _save_line = __LINE__; \
|
||||
char *_save_set = malloc(strlen(setName) + 1); \
|
||||
strcpy(_save_set, setName); \
|
||||
strncpy(_save_set, setName, strlen(setName) + 1); \
|
||||
fprintf(stderr, "Start set: "); \
|
||||
testIndent(); \
|
||||
fprintf(stderr, "%s:%d ... %s\n", __FILE__, __LINE__, _save_set); \
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue