Commit 151a6fcb authored by Tim Peters's avatar Tim Peters

Backporting a fix from Tres on the Zope3 branch: shush a gcc warning.

parent ec683139
...@@ -238,9 +238,10 @@ finiSetIteration(SetIteration *i) ...@@ -238,9 +238,10 @@ finiSetIteration(SetIteration *i)
* value need to be cleaned up. * value need to be cleaned up.
*/ */
DECREF_KEY(i->key); DECREF_KEY(i->key);
if (i->usesValue) if (i->usesValue) {
DECREF_VALUE(i->value); DECREF_VALUE(i->value);
} }
}
i->position = -1; /* stop any stray next calls from doing harm */ i->position = -1; /* stop any stray next calls from doing harm */
} }
...@@ -410,7 +411,7 @@ static char BTree_module_documentation[] = ...@@ -410,7 +411,7 @@ static char BTree_module_documentation[] =
"\n" "\n"
MASTER_ID MASTER_ID
BTREEITEMSTEMPLATE_C BTREEITEMSTEMPLATE_C
"$Id: BTreeModuleTemplate.c,v 1.30 2002/06/08 04:41:44 tim_one Exp $\n" "$Id: BTreeModuleTemplate.c,v 1.31 2002/06/10 04:57:43 tim_one Exp $\n"
BTREETEMPLATE_C BTREETEMPLATE_C
BUCKETTEMPLATE_C BUCKETTEMPLATE_C
KEYMACROS_H KEYMACROS_H
......
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