svnno****@sourc*****
svnno****@sourc*****
2011年 3月 4日 (金) 18:41:53 JST
Revision: 379 http://sourceforge.jp/projects/swfed/svn/view?view=rev&revision=379 Author: yoya Date: 2011-03-04 18:41:53 +0900 (Fri, 04 Mar 2011) Log Message: ----------- 未使用の変数宣言を削除 Modified Paths: -------------- trunk/src/php_swfed.c trunk/src/swf_object.c -------------- next part -------------- Modified: trunk/src/php_swfed.c =================================================================== --- trunk/src/php_swfed.c 2011-03-04 09:41:26 UTC (rev 378) +++ trunk/src/php_swfed.c 2011-03-04 09:41:53 UTC (rev 379) @@ -547,7 +547,6 @@ long cid = 0; swf_object_t *swf = NULL; unsigned char *data_ref = NULL; - char *new_buff = NULL; unsigned long data_len = 0; if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "l", &cid) == FAILURE) { RETURN_FALSE; @@ -592,7 +591,6 @@ long cid = 0; swf_object_t *swf = NULL; unsigned char *data_ref = NULL; - char *new_buff = NULL; unsigned long data_len = 0; if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "l", &cid) == FAILURE) { RETURN_FALSE; Modified: trunk/src/swf_object.c =================================================================== --- trunk/src/swf_object.c 2011-03-04 09:41:26 UTC (rev 378) +++ trunk/src/swf_object.c 2011-03-04 09:41:53 UTC (rev 379) @@ -858,7 +858,7 @@ swf_object_replace_movieclip(swf_object_t *swf, unsigned char *instance_name, int instance_name_len, unsigned char *swf_data, int swf_data_len) { - int cid; + int cid = 0; swf_tag_t *tag, *sprite_tag = NULL; if (swf == NULL) { fprintf(stderr, "swf_object_replace_movieclip: swf == NULL\n");