diff options
author | Jason Wilkins <Jason.A.Wilkins@gmail.com> | 2012-04-09 05:16:19 +0400 |
---|---|---|
committer | Jason Wilkins <Jason.A.Wilkins@gmail.com> | 2012-04-09 05:16:19 +0400 |
commit | dabcdc15325702586501b5a6e401876f776d3c4c (patch) | |
tree | 7ecbd10dbe5b3ef905dcb5e4fd632a451605add8 /source/blender/blenlib/intern | |
parent | 35b483671188ca4bd418c3206809379aff179082 (diff) |
Warning Fixes - const correctness in unicode encoding, unused variables in blenlib, and some type conversions
This is from a patch that is in the tracker, but it leaves out a fix of BLI_gzopen which needs more work.
Diffstat (limited to 'source/blender/blenlib/intern')
-rw-r--r-- | source/blender/blenlib/intern/path_util.c | 1 | ||||
-rw-r--r-- | source/blender/blenlib/intern/winstuff.c | 2 |
2 files changed, 0 insertions, 3 deletions
diff --git a/source/blender/blenlib/intern/path_util.c b/source/blender/blenlib/intern/path_util.c index df711150b97..3c59ca8d52b 100644 --- a/source/blender/blenlib/intern/path_util.c +++ b/source/blender/blenlib/intern/path_util.c @@ -831,7 +831,6 @@ const char *BLI_getDefaultDocumentFolder(void) return getenv("HOME"); #else /* Windows */ - const char * ret; static char documentfolder[MAXPATHLEN]; HRESULT hResult; diff --git a/source/blender/blenlib/intern/winstuff.c b/source/blender/blenlib/intern/winstuff.c index d2c98b7aaf3..3dd2cc4c95d 100644 --- a/source/blender/blenlib/intern/winstuff.c +++ b/source/blender/blenlib/intern/winstuff.c @@ -217,8 +217,6 @@ static wchar_t * BLI_alloc_utf16_from_8(char * in8, size_t add) struct dirent *readdir(DIR *dp) { - char * FileName; - size_t size; if (dp->direntry.d_name) { MEM_freeN(dp->direntry.d_name); dp->direntry.d_name= NULL; |