mirror of
https://github.com/mariusgreuel/avrdude.git
synced 2025-12-15 18:21:07 +00:00
Drop the LISTSZ define as well as the check for it in lcreat(). They
were not needed at all, and got in the way when compiling on a 64-bit host OS. Suggested by: Brian S. Dean git-svn-id: svn://svn.savannah.nongnu.org/avrdude/trunk/avrdude@413 81a1dc3b-b13d-400b-aceb-764788c761c2
This commit is contained in:
5
lists.c
5
lists.c
@@ -413,11 +413,6 @@ lcreat ( void * liststruct, int elements )
|
||||
{
|
||||
LIST * l;
|
||||
|
||||
if (LISTSZ != sizeof(LIST)) {
|
||||
printf ( "lcreat(): warning, LISTSZ[%d] != sizeof(LIST)[%d]\n",
|
||||
LISTSZ, sizeof(LIST) );
|
||||
}
|
||||
|
||||
if (liststruct == NULL) {
|
||||
/*--------------------------------------------------
|
||||
allocate memory for the list itself
|
||||
|
||||
Reference in New Issue
Block a user