summaryrefslogtreecommitdiff
path: root/sal/workben/t_readline.c
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2015-02-11 13:20:49 +0200
committerNoel Grandin <noel@peralex.com>2015-02-23 09:26:58 +0200
commitba233e87efddf0a6751b35784dca1c805364ff3b (patch)
tree9d7c8a4256e688c2d47cb6ecf580ac196c4da2c0 /sal/workben/t_readline.c
parenta2fa9e2468aa5c4fd4b610c5d0ebc8959e87a072 (diff)
remove unnecessary parenthesis in return statements
found with $ git grep -lP 'return\s*\(\s*\w+\s*\)\s*;' Change-Id: Ic51606877a9edcadeb647c5bf17bc928b69ab60e
Diffstat (limited to 'sal/workben/t_readline.c')
-rw-r--r--sal/workben/t_readline.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sal/workben/t_readline.c b/sal/workben/t_readline.c
index 309881497c54..c824f10a9abf 100644
--- a/sal/workben/t_readline.c
+++ b/sal/workben/t_readline.c
@@ -41,7 +41,7 @@ int main (int argc, char ** argv)
result = osl_getFileURLFromSystemPath (pSystemPath, &pFileUrl);
rtl_uString_release (pSystemPath), pSystemPath = 0;
if (result != osl_File_E_None)
- return (result);
+ return result;
result = osl_openFile (pFileUrl, &hFile, osl_File_OpenFlag_Read);
rtl_uString_release (pFileUrl), pFileUrl = 0;