summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Michael <cp.michael@samsung.com>2014-11-03 08:17:34 -0500
committerChris Michael <cp.michael@samsung.com>2014-11-03 08:17:34 -0500
commit652e2f688bb7c7057e69a4740181c12f17aa4e1d (patch)
tree2f9c37e28c050425d5001af8c20c99bec537c5d4
parentcb84017a3f4ae6b3c13ee9fe7c0dca04a16aa43c (diff)
downloadefl-652e2f688bb7c7057e69a4740181c12f17aa4e1d.tar.gz
ecore-tests: Fix formatting
Summary: No functional changes, just formatting. Signed-off-by: Chris Michael <cp.michael@samsung.com>
-rw-r--r--src/tests/ecore/ecore_test_ecore_file.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/tests/ecore/ecore_test_ecore_file.c b/src/tests/ecore/ecore_test_ecore_file.c
index dfeb72de0d..cd06d20c0f 100644
--- a/src/tests/ecore/ecore_test_ecore_file.c
+++ b/src/tests/ecore/ecore_test_ecore_file.c
@@ -18,10 +18,8 @@ void
_writeToFile(char *filePath, char *text)
{
FILE *f = fopen(filePath, "r+");
- if(f == NULL)
- {
- f = fopen(filePath, "w");
- }
+ if (f == NULL)
+ f = fopen(filePath, "w");
fail_if(f == NULL);
fprintf(f, "%s\n", text);
fclose(f);