diff options
author | Lukas Fleischer <calcurse@cryptocrack.de> | 2011-11-02 19:30:54 +0100 |
---|---|---|
committer | Lukas Fleischer <calcurse@cryptocrack.de> | 2011-11-02 19:38:38 +0100 |
commit | 6f01c7af972dbf4698c63b707b225469b9405e47 (patch) | |
tree | 9a48f43a43992da80dcdd6415941cc72c7f6878d /src/custom.c | |
parent | ce3f0ce76f59216ff82ecd79e180a5c59d3d60d0 (diff) | |
download | calcurse-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/custom.c')
-rw-r--r-- | src/custom.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/custom.c b/src/custom.c index 5aae821..5700640 100644 --- a/src/custom.c +++ b/src/custom.c @@ -346,7 +346,7 @@ custom_set_conf (struct conf *conf, enum conf_var var, char *val) strncpy (nbar.cmd, val, strlen (val) + 1); break; case CUSTOM_CONF_NOTIFYALL: - return conf_parse_bool (&nbar.notify_all, val); + return conf_parse_bool(&nbar.notify_all, val); break; case CUSTOM_CONF_OUTPUTDATEFMT: if (val[0] != '\0') |