diff options
author | Campbell Barton <ideasman42@gmail.com> | 2020-08-08 04:02:11 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2020-08-08 06:37:55 +0300 |
commit | 586a3084677b03e314a906ffdac3560a24058409 (patch) | |
tree | b2b920b14e5408b09556c514814e82a188a1d38d /source/blender/blenlib | |
parent | f1b1a0745f53564ed8eedd90d2de41cdf1d72836 (diff) |
Cleanup: remove redundant return parenthesis
Diffstat (limited to 'source/blender/blenlib')
-rw-r--r-- | source/blender/blenlib/intern/storage.c | 4 | ||||
-rw-r--r-- | source/blender/blenlib/intern/string.c | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/source/blender/blenlib/intern/storage.c b/source/blender/blenlib/intern/storage.c index fbd9e562b6a..db062ff50fd 100644 --- a/source/blender/blenlib/intern/storage.c +++ b/source/blender/blenlib/intern/storage.c @@ -371,13 +371,13 @@ int BLI_exists(const char *name) free(tmp_16); if (res == -1) { - return (0); + return 0; } #else struct stat st; BLI_assert(!BLI_path_is_rel(name)); if (stat(name, &st)) { - return (0); + return 0; } #endif return (st.st_mode); diff --git a/source/blender/blenlib/intern/string.c b/source/blender/blenlib/intern/string.c index 8eeaaa2453a..755637ac274 100644 --- a/source/blender/blenlib/intern/string.c +++ b/source/blender/blenlib/intern/string.c @@ -514,7 +514,7 @@ char *BLI_strcasestr(const char *s, const char *find) do { do { if ((sc = *s++) == 0) { - return (NULL); + return NULL; } sc = tolower(sc); } while (sc != c); |