diff options
author | Tom Lane <tgl@sss.pgh.pa.us> | 2019-05-22 12:55:34 -0400 |
---|---|---|
committer | Tom Lane <tgl@sss.pgh.pa.us> | 2019-05-22 12:55:34 -0400 |
commit | be76af171cdb3e7465c4ef234af403f97ad79b7b (patch) | |
tree | 1fa62d2b7a6680a4237a1548f7002fa0b234b143 /src/interfaces/ecpg/preproc/ecpg.c | |
parent | 66a4bad83aaa6613a45a00a488c04427f9969fb4 (diff) | |
download | postgresql-be76af171cdb3e7465c4ef234af403f97ad79b7b.tar.gz postgresql-be76af171cdb3e7465c4ef234af403f97ad79b7b.zip |
Initial pgindent run for v12.
This is still using the 2.0 version of pg_bsd_indent.
I thought it would be good to commit this separately,
so as to document the differences between 2.0 and 2.1 behavior.
Discussion: https://postgr.es/m/16296.1558103386@sss.pgh.pa.us
Diffstat (limited to 'src/interfaces/ecpg/preproc/ecpg.c')
-rw-r--r-- | src/interfaces/ecpg/preproc/ecpg.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/interfaces/ecpg/preproc/ecpg.c b/src/interfaces/ecpg/preproc/ecpg.c index a6a43f5a3f7..861a2d98d5e 100644 --- a/src/interfaces/ecpg/preproc/ecpg.c +++ b/src/interfaces/ecpg/preproc/ecpg.c @@ -121,8 +121,8 @@ free_argument(struct arguments *arg) free_argument(arg->next); /* - * Don't free variables in it because the original codes don't free it either - * variables are static structures instead of allocating + * Don't free variables in it because the original codes don't free it + * either variables are static structures instead of allocating */ free(arg); } @@ -520,13 +520,13 @@ main(int argc, char *const argv[]) free(input_filename); } - if(g_declared_list) + if (g_declared_list) { free_declared_stmt(g_declared_list); g_declared_list = NULL; } - if(cur) + if (cur) { free_cursor(cur); cur = NULL; |