mirror of
https://github.com/sfilippone/psblas3.git
synced 2026-10-19 20:32:12 +00:00
Fixed stupid mistake: out of order declaration vs. executable
statement in InitPairSearchTree gives trouble in strict C compilation.
This commit is contained in:
@@ -160,8 +160,9 @@ 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;
|
||||
|
||||
Reference in New Issue
Block a user