diff options
author | Campbell Barton <ideasman42@gmail.com> | 2011-02-13 18:02:21 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2011-02-13 18:02:21 +0300 |
commit | 59f1640ae5f53e2360fec2634fdc7d2ec85e2989 (patch) | |
tree | f2f36528a67424b74f3cf305643d04cd64782284 /source/blender/imbuf | |
parent | 0852278ce76fe7412344eeb7e577d0dbdab0ff75 (diff) |
warning cleanup.
- fix mistake with grease pencil UI (&& was intended but & used).
- use (void) rather then () across _all_ blenders code.
- a few minor edits, don't shadow stack variables in roll calculation & avoid running memset() for VBO vertex map.
Diffstat (limited to 'source/blender/imbuf')
-rw-r--r-- | source/blender/imbuf/intern/allocimbuf.c | 2 | ||||
-rw-r--r-- | source/blender/imbuf/intern/thumbs.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/imbuf/intern/allocimbuf.c b/source/blender/imbuf/intern/allocimbuf.c index 32284472163..99b3c3a58d6 100644 --- a/source/blender/imbuf/intern/allocimbuf.c +++ b/source/blender/imbuf/intern/allocimbuf.c @@ -458,7 +458,7 @@ static MEM_CacheLimiterC **get_imbuf_cache_limiter(void) return &c; } -void IMB_free_cache_limiter() +void IMB_free_cache_limiter(void) { delete_MEM_CacheLimiter(*get_imbuf_cache_limiter()); *get_imbuf_cache_limiter() = 0; diff --git a/source/blender/imbuf/intern/thumbs.c b/source/blender/imbuf/intern/thumbs.c index a6eb319ccd9..c0fd6584d6f 100644 --- a/source/blender/imbuf/intern/thumbs.c +++ b/source/blender/imbuf/intern/thumbs.c @@ -228,7 +228,7 @@ static int thumbpath_from_uri(const char* uri, char* path, const int path_len, T return rv; } -void IMB_thumb_makedirs() +void IMB_thumb_makedirs(void) { char tpath[FILE_MAX]; if (get_thumb_dir(tpath, THB_NORMAL)) { |