Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBastien Montagne <montagne29@wanadoo.fr>2014-12-01 16:33:38 +0300
committerBastien Montagne <montagne29@wanadoo.fr>2014-12-01 19:11:55 +0300
commit9c782c17ba03b3ed61bec1f1e9c73bc5f6522ded (patch)
treef5421e85d8871424a47a948851c0091046c7a243 /source/blender/blenlib/intern/path_util.c
parentf2c3b5a384f064b5ebbc5c0b74adf5bfa6ec11fb (diff)
Cleanup: hopefully last int->bool one in this area!
Diffstat (limited to 'source/blender/blenlib/intern/path_util.c')
-rw-r--r--source/blender/blenlib/intern/path_util.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/source/blender/blenlib/intern/path_util.c b/source/blender/blenlib/intern/path_util.c
index abb6cc3f3cd..0a30a35ba7c 100644
--- a/source/blender/blenlib/intern/path_util.c
+++ b/source/blender/blenlib/intern/path_util.c
@@ -1253,11 +1253,10 @@ bool BLI_testextensie_n(const char *str, ...)
while ((ext = (const char *) va_arg(args, void *))) {
if (testextensie_ex(str, str_len, ext, strlen(ext))) {
ret = true;
- goto finally;
+ break;
}
}
-finally:
va_end(args);
return ret;