summaryrefslogtreecommitdiff
path: root/src/interfaces/ecpg/test/expected/thread-thread_implicit.c
diff options
context:
space:
mode:
authorPeter Eisentraut <peter_e@gmx.net>2017-08-17 12:39:20 -0400
committerPeter Eisentraut <peter_e@gmx.net>2017-09-05 14:52:55 -0400
commit17273d059cd3a5cba818505b0d47a444c36a3513 (patch)
tree812c47b95d279e50e5d797852edd6664f217a0c8 /src/interfaces/ecpg/test/expected/thread-thread_implicit.c
parentba26f5cf768a31e0cbdf5eb8675ee187ad35fd0b (diff)
Remove unnecessary parentheses in return statements
The parenthesized style has only been used in a few modules. Change that to use the style that is predominant across the whole tree. Reviewed-by: Michael Paquier <michael.paquier@gmail.com> Reviewed-by: Ryan Murphy <ryanfmurphy@gmail.com>
Diffstat (limited to 'src/interfaces/ecpg/test/expected/thread-thread_implicit.c')
-rw-r--r--src/interfaces/ecpg/test/expected/thread-thread_implicit.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/interfaces/ecpg/test/expected/thread-thread_implicit.c b/src/interfaces/ecpg/test/expected/thread-thread_implicit.c
index b42c5566338..4bddca9fb98 100644
--- a/src/interfaces/ecpg/test/expected/thread-thread_implicit.c
+++ b/src/interfaces/ecpg/test/expected/thread-thread_implicit.c
@@ -92,7 +92,7 @@ int main()
if( threads == NULL )
{
fprintf(stderr, "Cannot alloc memory\n");
- return( 1 );
+ return 1;
}
for( n = 0; n < nthreads; n++ )
{
@@ -134,7 +134,7 @@ int main()
else
printf("ERROR: Failure - expecting %d rows, got %d.\n", nthreads * iterations, l_rows);
- return( 0 );
+ return 0;
}
void *test_thread(void *arg)
@@ -178,7 +178,7 @@ if (sqlca.sqlcode < 0) sqlprint();}
if( sqlca.sqlcode != 0 )
{
printf("%s: ERROR: cannot connect to database!\n", l_connection);
- return( NULL );
+ return NULL;
}
{ ECPGtrans(__LINE__, NULL, "begin");
#line 127 "thread_implicit.pgc"
@@ -217,6 +217,6 @@ if (sqlca.sqlcode < 0) sqlprint();}
if (sqlca.sqlcode < 0) sqlprint();}
#line 139 "thread_implicit.pgc"
- return( NULL );
+ return NULL;
}
#endif /* ENABLE_THREAD_SAFETY */