mirror of
https://github.com/postgres/postgres.git
synced 2025-11-06 07:49:08 +03:00
Remove un-needed braces around single statements.
This commit is contained in:
@@ -895,9 +895,7 @@ ECPGdisconnect(int lineno, const char *connection_name)
|
||||
return false;
|
||||
}
|
||||
else
|
||||
{
|
||||
ECPGfinish(con);
|
||||
}
|
||||
}
|
||||
|
||||
return true;
|
||||
|
||||
@@ -291,9 +291,7 @@ ECPGdump_a_struct(FILE *o, const char *name, const char * ind_name, long arrsiz,
|
||||
offset = obuf;
|
||||
}
|
||||
else
|
||||
{
|
||||
offset = offsetarg;
|
||||
}
|
||||
|
||||
sprintf(pbuf, "%s%s.", prefix ? prefix : "", name);
|
||||
prefix = pbuf;
|
||||
@@ -349,9 +347,7 @@ ECPGfree_type(struct ECPGtype * typ)
|
||||
free(typ->u.members);
|
||||
}
|
||||
else
|
||||
{
|
||||
abort();
|
||||
}
|
||||
}
|
||||
free(typ);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user