From 084e1e32b2d5c8c0b32d03950d9c1dba90851e1f Mon Sep 17 00:00:00 2001 From: kramm Date: Sat, 16 Feb 2002 19:36:55 +0000 Subject: [PATCH] fixed compiler warnings. --- lib/rfxswf.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/rfxswf.c b/lib/rfxswf.c index 9a568fd..554309e 100644 --- a/lib/rfxswf.c +++ b/lib/rfxswf.c @@ -776,6 +776,7 @@ int swf_InitSWF(void*data, int length, SWF * swf) /* copy a swf in memory into S swf->firstTag = t1.next; t1.next->prev = NULL;*/ } + return 0; } int swf_ReadSWF(int handle,SWF * swf) // Reads SWF to memory (malloc'ed), returns length or <0 if fails @@ -897,6 +898,7 @@ int swf_WriteHeader(int handle,SWF * swf) memcpy(&myswf,swf,sizeof(SWF)); myswf.firstTag = 0; swf_WriteSWF(handle, &myswf); + return 0; } int swf_WriteCGI(SWF * swf) -- 1.7.10.4