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 2022/12/12 18:36:51 UTC
[age] branch master updated: Fix Travis CI warning message
This is an automated email from the ASF dual-hosted git repository.
jgemignani pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/age.git
The following commit(s) were added to refs/heads/master by this push:
new cb0b3a9 Fix Travis CI warning message
cb0b3a9 is described below
commit cb0b3a981c6f0740adb633d61f4a1a513136ca6c
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)
{