diff options
author | Campbell Barton <ideasman42@gmail.com> | 2008-09-29 21:08:11 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2008-09-29 21:08:11 +0400 |
commit | 2a331067cc52693aa903a0487be29c93298c4b8b (patch) | |
tree | 814fba88bc5af1de58ea6ef12958e38daa1b9fb4 /intern | |
parent | 7ebeceb399002076106333202ec59483fc3ed4ba (diff) |
resolve some compiler warnings with intel c/c++ compiler
* subsurf code had a lot of unused variables, removed these where they are obviously not needed. commented if they could be useful later.
* some variables declorations hide existing variables (many of these left), but fixed some that could cause confusion.
* removed unused vars
* obscure python memory leak with colorband.
* make_sample_tables had a loop running wasnt used.
* if 0'd functions in arithb.c that are not used yet.
* made many functions static
Diffstat (limited to 'intern')
-rw-r--r-- | intern/SoundSystem/intern/SND_Utils.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/intern/SoundSystem/intern/SND_Utils.cpp b/intern/SoundSystem/intern/SND_Utils.cpp index 05101a7e6e6..754c8b029a1 100644 --- a/intern/SoundSystem/intern/SND_Utils.cpp +++ b/intern/SoundSystem/intern/SND_Utils.cpp @@ -199,7 +199,7 @@ bool SND_IsSampleValid(const STR_String& name, void* memlocation) /* checks if the passed pointer is a valid sample */ -bool CheckSample(void* sample) +static bool CheckSample(void* sample) { bool valid = false; char buffer[32]; |