Fixed compile of split tool under GCC 4.6 (no whatsnew)
This commit is contained in:
parent
3a0a794e21
commit
bd2789b726
@ -98,7 +98,6 @@ static int split_file(const char *filename, const char *basename, UINT32 splitsi
|
||||
void *splitbuffer = NULL;
|
||||
int index, partnum;
|
||||
UINT64 totallength;
|
||||
UINT32 totalparts;
|
||||
file_error filerr;
|
||||
int error = 1;
|
||||
|
||||
@ -130,7 +129,6 @@ static int split_file(const char *filename, const char *basename, UINT32 splitsi
|
||||
fprintf(stderr, "Fatal error: too many splits (maximum is %d)\n", MAX_PARTS);
|
||||
goto cleanup;
|
||||
}
|
||||
totalparts = totallength / splitsize;
|
||||
|
||||
// allocate a buffer for reading
|
||||
splitbuffer = malloc(splitsize);
|
||||
|
Loading…
Reference in New Issue
Block a user