summaryrefslogtreecommitdiff
path: root/src/io.c
diff options
context:
space:
mode:
authorLukas Fleischer <calcurse@cryptocrack.de>2011-11-02 19:30:54 +0100
committerLukas Fleischer <calcurse@cryptocrack.de>2011-11-02 19:38:38 +0100
commit6f01c7af972dbf4698c63b707b225469b9405e47 (patch)
tree9a48f43a43992da80dcdd6415941cc72c7f6878d /src/io.c
parentce3f0ce76f59216ff82ecd79e180a5c59d3d60d0 (diff)
downloadcalcurse-6f01c7af972dbf4698c63b707b225469b9405e47.zip
Remove parentheses from return statements
No reason to use "return (x);" here. Refer to the GNU coding guidelines for details. Created using following semantic patch: @@ expression expr; @@ - return (expr); + return expr; Signed-off-by: Lukas Fleischer <calcurse@cryptocrack.de>
Diffstat (limited to 'src/io.c')
-rw-r--r--src/io.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/io.c b/src/io.c
index b96d452..6e3bf38 100644
--- a/src/io.c
+++ b/src/io.c
@@ -227,7 +227,7 @@ get_export_stream (enum export_type type)
if (cancel)
{
mem_free (stream_name);
- return (NULL);
+ return NULL;
}
stream = fopen (stream_name, "w");
if (stream == NULL)
@@ -238,7 +238,7 @@ get_export_stream (enum export_type type)
}
mem_free (stream_name);
- return (stream);
+ return stream;
}
/*