diff options
author | Alexey Yakovenko <wakeroid@gmail.com> | 2010-05-04 19:45:35 +0200 |
---|---|---|
committer | Alexey Yakovenko <wakeroid@gmail.com> | 2010-05-04 19:45:35 +0200 |
commit | f31784859de08fc05b8a744e7fe8d713693734b9 (patch) | |
tree | 2a308acb3c6530f05a5c0b30ffabc30fbd1abe55 /plugins/dumb | |
parent | 9ca2a9c5ceaabb9f5db53ae85ab1179dbd6e4d2b (diff) |
fixed lots of gcc warnings
Diffstat (limited to 'plugins/dumb')
-rw-r--r-- | plugins/dumb/dumb-kode54/src/it/readmod.c | 2 | ||||
-rw-r--r-- | plugins/dumb/dumb-kode54/src/it/readpsm.c | 2 | ||||
-rw-r--r-- | plugins/dumb/dumb-kode54/src/it/readriff.c | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/plugins/dumb/dumb-kode54/src/it/readmod.c b/plugins/dumb/dumb-kode54/src/it/readmod.c index 0963c6d9..b6b35cbe 100644 --- a/plugins/dumb/dumb-kode54/src/it/readmod.c +++ b/plugins/dumb/dumb-kode54/src/it/readmod.c @@ -446,7 +446,7 @@ static DUMB_IT_SIGDATA *it_mod_load_sigdata(DUMBFILE *f, int restrict) DUMB_IT_SIGDATA *sigdata;
int n_channels;
int i;
- unsigned long fft;
+ unsigned long fft = 0;
DUMBFILE *rem;
f = dumbfile_buffer_mod(f, &fft);
diff --git a/plugins/dumb/dumb-kode54/src/it/readpsm.c b/plugins/dumb/dumb-kode54/src/it/readpsm.c index 129cdf6f..07b33613 100644 --- a/plugins/dumb/dumb-kode54/src/it/readpsm.c +++ b/plugins/dumb/dumb-kode54/src/it/readpsm.c @@ -456,7 +456,7 @@ static DUMB_IT_SIGDATA *it_psm_load_sigdata(DUMBFILE *f, int * ver, int subsong) PSMCHUNK *songchunk;
int n_song_chunks = 0;
- PSMEVENT *event;
+ PSMEVENT *event = NULL;
int n_events = 0;
unsigned char * ptr;
diff --git a/plugins/dumb/dumb-kode54/src/it/readriff.c b/plugins/dumb/dumb-kode54/src/it/readriff.c index 615e555c..cc1e82fb 100644 --- a/plugins/dumb/dumb-kode54/src/it/readriff.c +++ b/plugins/dumb/dumb-kode54/src/it/readriff.c @@ -38,7 +38,7 @@ DUH *dumb_read_riff_quick( DUMBFILE * f ) {
unsigned char * buffer = 0;
unsigned size = 0;
- unsigned read;
+ long read;
do
{
buffer = realloc( buffer, 32768 + size );
|