You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@age.apache.org by jg...@apache.org on 2023/02/09 18:10:57 UTC
[age] 11/14: Fix Travis CI warning message
This is an automated email from the ASF dual-hosted git repository.
jgemignani pushed a commit to branch PG12
in repository https://gitbox.apache.org/repos/asf/age.git
commit 7d3b89ae330212b79d4f9076de687b1041dbc719
Author: John Gemignani <jr...@gmail.com>
AuthorDate: Mon Dec 12 10:36:28 2022 -0800
Fix Travis CI warning message
Fixed a Travis CI warning message that was overlooked -
warning: ISO C90 forbids mixed declarations and code
---
src/backend/parser/cypher_transform_entity.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/src/backend/parser/cypher_transform_entity.c b/src/backend/parser/cypher_transform_entity.c
index 465539d..6d4b2c7 100644
--- a/src/backend/parser/cypher_transform_entity.c
+++ b/src/backend/parser/cypher_transform_entity.c
@@ -60,12 +60,12 @@ transform_entity *find_transform_entity(cypher_parsestate *cpstate,
char *name,
enum transform_entity_type type)
{
- if( name == NULL )
+ ListCell *lc;
+
+ if (name == NULL)
{
return NULL;
}
-
- ListCell *lc;
foreach(lc, cpstate->entities)
{