compiler warning cleanup
This commit is contained in:
@@ -114,8 +114,8 @@ static const char *check_memlist(MemHead *memh);
|
||||
volatile int totblock= 0;
|
||||
volatile unsigned long mem_in_use= 0, mmap_in_use= 0;
|
||||
|
||||
volatile static struct localListBase _membase;
|
||||
volatile static struct localListBase *membase = &_membase;
|
||||
static volatile struct localListBase _membase;
|
||||
static volatile struct localListBase *membase = &_membase;
|
||||
static void (*error_callback)(char *) = NULL;
|
||||
static void (*thread_lock_callback)(void) = NULL;
|
||||
static void (*thread_unlock_callback)(void) = NULL;
|
||||
|
||||
@@ -63,7 +63,7 @@ static float avgLogLum(CompBuf *src, float* auto_key, float* Lav, float* Cav)
|
||||
}
|
||||
|
||||
|
||||
void static tonemap(NodeTonemap* ntm, CompBuf* dst, CompBuf* src)
|
||||
static void tonemap(NodeTonemap* ntm, CompBuf* dst, CompBuf* src)
|
||||
{
|
||||
int x, y;
|
||||
float dr, dg, db, al, igm = (ntm->gamma==0.f) ? 1 : (1.f / ntm->gamma);
|
||||
|
||||
@@ -2686,7 +2686,7 @@ static void load_buts_vfont(char *name)
|
||||
|
||||
static void set_unicode_text_fs(char *file)
|
||||
{
|
||||
if (file > 0) paste_unicodeText(file);
|
||||
if (file) paste_unicodeText(file);
|
||||
}
|
||||
|
||||
void do_fontbuts(unsigned short event)
|
||||
|
||||
Reference in New Issue
Block a user