mirror of
https://github.com/GrammaticalFramework/gf-core.git
synced 2026-05-22 01:22:51 -06:00
fix warnings in pgf-parse.c
This commit is contained in:
@@ -78,7 +78,6 @@ int main(int argc, char* argv[]) {
|
|||||||
// We will keep the latest results in the 'ppool' and
|
// We will keep the latest results in the 'ppool' and
|
||||||
// we will iterate over them by using 'result'.
|
// we will iterate over them by using 'result'.
|
||||||
GuPool* ppool = NULL;
|
GuPool* ppool = NULL;
|
||||||
GuEnum* result = NULL;
|
|
||||||
|
|
||||||
// The interactive PARSING loop.
|
// The interactive PARSING loop.
|
||||||
// XXX: This currently reads stdin directly, so it doesn't support
|
// XXX: This currently reads stdin directly, so it doesn't support
|
||||||
@@ -106,7 +105,6 @@ int main(int argc, char* argv[]) {
|
|||||||
if (ppool != NULL) {
|
if (ppool != NULL) {
|
||||||
gu_pool_free(ppool);
|
gu_pool_free(ppool);
|
||||||
ppool = NULL;
|
ppool = NULL;
|
||||||
result = NULL;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
// We create a temporary pool for translating a single
|
// We create a temporary pool for translating a single
|
||||||
|
|||||||
Reference in New Issue
Block a user