Fixed stupid mistake: out of order declaration vs. executable

statement in InitPairSearchTree gives trouble in strict C compilation.
psblas3-type-indexed
Salvatore Filippone 18 years ago
parent f7e404d96c
commit ef01179b50

@ -160,9 +160,10 @@ int CompareKeys(void *key1, void *key2)
void InitPairSearchTree(fptr *ftree, int *iret)
{
int i;
*iret = 0;
PairTreePtr PTree;
*iret = 0;
if ((PTree = malloc(sizeof(PairTree)))==NULL) {
*iret=-1; return;
}

Loading…
Cancel
Save