diff options
Diffstat (limited to 'amiga/icon.c')
-rw-r--r-- | amiga/icon.c | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/amiga/icon.c b/amiga/icon.c index c5bc6ae1f..a6b61a273 100644 --- a/amiga/icon.c +++ b/amiga/icon.c @@ -139,7 +139,7 @@ bool amiga_icon_convert(struct content *c) ULONG size; int width = 0, height = 0; long format = 0; - int err = 0; + int err; uint8 r, g, b, a; ULONG offset; const char *url; @@ -365,7 +365,7 @@ void amiga_icon_superimpose_favicon_internal(struct hlcache_handle *icon, struct ULONG *icondata1, *icondata2; ULONG width, height; long format = 0; - int err = 0; + int err; if(dobj == NULL) return; @@ -420,11 +420,10 @@ void amiga_icon_superimpose_favicon_internal(struct hlcache_handle *icon, struct void amiga_icon_superimpose_favicon(char *path, struct hlcache_handle *icon, char *type) { struct DiskObject *dobj = NULL; - struct BitMap *bm = NULL; ULONG *icondata1, *icondata2; ULONG width, height; long format = 0; - int err = 0; + int err; ULONG trans1, pals1; ULONG trans2, pals2; struct ColorRegister *pal1; |