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:
Richard Frith-MacDonald 2011-03-07 15:40:33 +00:00
parent 4428ee9679
commit 0c983b6862
3 changed files with 8 additions and 5 deletions

View file

@ -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); \