Commit 5bd7caab authored by Thomas Jahns's avatar Thomas Jahns 🤸
Browse files

Fix incorrect static declaration.

parent a1b5125b
......@@ -244,7 +244,6 @@ elemCheck(void *q, void *nm)
int fowMPINONB ( const char *filename )
{
static aFiledataM *of;
static unsigned long buffersize = 0;
int id;
enum {
......@@ -265,7 +264,7 @@ int fowMPINONB ( const char *filename )
xdebug("buffersize=%ld", buffersize);
listSetForeach(bibAFiledataM, elemCheck, (void *)filename);
of = initAFiledataMPINONB(filename, (size_t)buffersize);
aFiledataM *of = initAFiledataMPINONB(filename, (size_t)buffersize);
if ((id = listSetAdd(bibAFiledataM, of)) < 0 )
xabort("filename %s not unique", of->name);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment