diff options
author | Campbell Barton <ideasman42@gmail.com> | 2016-02-10 05:59:57 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2016-02-10 07:27:28 +0300 |
commit | 2cbf32e0fb471c23a81785707200296a049b3017 (patch) | |
tree | d7f1fa0ccf7b4af10bb153e6a954a86230ec0527 /source/blender/blenlib | |
parent | 184a2ee5a4a79540656a545f65f7bdbe3803d1cd (diff) |
Cleanup: double promotion
Also remove null checks from args with non-null attribute.
Diffstat (limited to 'source/blender/blenlib')
-rw-r--r-- | source/blender/blenlib/intern/storage.c | 1 | ||||
-rw-r--r-- | source/blender/blenlib/intern/string.c | 2 |
2 files changed, 0 insertions, 3 deletions
diff --git a/source/blender/blenlib/intern/storage.c b/source/blender/blenlib/intern/storage.c index 260a23c41dc..aba7c9d5ee2 100644 --- a/source/blender/blenlib/intern/storage.c +++ b/source/blender/blenlib/intern/storage.c @@ -232,7 +232,6 @@ int BLI_exists(const char *name) if (res == -1) return(0); #else struct stat st; - BLI_assert(name); BLI_assert(!BLI_path_is_rel(name)); if (stat(name, &st)) return(0); #endif diff --git a/source/blender/blenlib/intern/string.c b/source/blender/blenlib/intern/string.c index efc89ff6a15..aad4649344f 100644 --- a/source/blender/blenlib/intern/string.c +++ b/source/blender/blenlib/intern/string.c @@ -302,8 +302,6 @@ char *BLI_sprintfN(const char *__restrict format, ...) va_list arg; char *n; - BLI_assert(format != NULL); - va_start(arg, format); ds = BLI_dynstr_new(); |