diff options
-rw-r--r-- | ext/gd/libgd/gd.c | 3 | ||||
-rw-r--r-- | ext/gd/libgd/gd_matrix.c | 3 | ||||
-rw-r--r-- | ext/pcre/pcre2lib/sljit/sljitNativePPC_common.c | 2 | ||||
-rw-r--r-- | ext/pcre/pcre2lib/sljit/sljitNativeSPARC_common.c | 2 | ||||
-rw-r--r-- | ext/standard/filters.c | 2 | ||||
-rw-r--r-- | ext/zip/lib/zip_source_crc.c | 2 |
6 files changed, 6 insertions, 8 deletions
diff --git a/ext/gd/libgd/gd.c b/ext/gd/libgd/gd.c index 504a040de4..439c56f8ed 100644 --- a/ext/gd/libgd/gd.c +++ b/ext/gd/libgd/gd.c @@ -1898,7 +1898,7 @@ void gdImageFill(gdImagePtr im, int x, int y, int nc) int alphablending_bak; /* stack of filled segments */ - /* struct seg stack[FILL_MAX],*sp = stack;; */ + /* struct seg stack[FILL_MAX],*sp = stack; */ struct seg *stack = NULL; struct seg *sp; @@ -3143,4 +3143,3 @@ clean_on_error: gdFree(src->tpixels); return 0; } - diff --git a/ext/gd/libgd/gd_matrix.c b/ext/gd/libgd/gd_matrix.c index 83438bdbe3..0a67f1dc26 100644 --- a/ext/gd/libgd/gd_matrix.c +++ b/ext/gd/libgd/gd_matrix.c @@ -246,7 +246,7 @@ int gdAffineShearHorizontal(double dst[6], const double angle) int gdAffineShearVertical(double dst[6], const double angle) { dst[0] = 1; - dst[1] = tan(angle * M_PI / 180.0);; + dst[1] = tan(angle * M_PI / 180.0); dst[2] = 0; dst[3] = 1; dst[4] = 0; @@ -331,4 +331,3 @@ int gdAffineEqual (const double m1[6], const double m2[6]) fabs (m1[4] - m2[4]) < GD_EPSILON && fabs (m1[5] - m2[5]) < GD_EPSILON); } - diff --git a/ext/pcre/pcre2lib/sljit/sljitNativePPC_common.c b/ext/pcre/pcre2lib/sljit/sljitNativePPC_common.c index 5ef4ac96c4..8998d8a746 100644 --- a/ext/pcre/pcre2lib/sljit/sljitNativePPC_common.c +++ b/ext/pcre/pcre2lib/sljit/sljitNativePPC_common.c @@ -2122,7 +2122,7 @@ SLJIT_API_FUNC_ATTRIBUTE sljit_s32 sljit_emit_cmov(struct sljit_compiler *compil CHECK_ERROR(); CHECK(check_sljit_emit_cmov(compiler, type, dst_reg, src, srcw)); - return sljit_emit_cmov_generic(compiler, type, dst_reg, src, srcw);; + return sljit_emit_cmov_generic(compiler, type, dst_reg, src, srcw); } SLJIT_API_FUNC_ATTRIBUTE sljit_s32 sljit_emit_mem(struct sljit_compiler *compiler, sljit_s32 type, diff --git a/ext/pcre/pcre2lib/sljit/sljitNativeSPARC_common.c b/ext/pcre/pcre2lib/sljit/sljitNativeSPARC_common.c index 669ecd8152..97170f82c7 100644 --- a/ext/pcre/pcre2lib/sljit/sljitNativeSPARC_common.c +++ b/ext/pcre/pcre2lib/sljit/sljitNativeSPARC_common.c @@ -1457,7 +1457,7 @@ SLJIT_API_FUNC_ATTRIBUTE sljit_s32 sljit_emit_cmov(struct sljit_compiler *compil CHECK(check_sljit_emit_cmov(compiler, type, dst_reg, src, srcw)); #if (defined SLJIT_CONFIG_SPARC_32 && SLJIT_CONFIG_SPARC_32) - return sljit_emit_cmov_generic(compiler, type, dst_reg, src, srcw);; + return sljit_emit_cmov_generic(compiler, type, dst_reg, src, srcw); #else #error "Implementation required" #endif diff --git a/ext/standard/filters.c b/ext/standard/filters.c index d9550520cd..9bd494f38d 100644 --- a/ext/standard/filters.c +++ b/ext/standard/filters.c @@ -246,7 +246,7 @@ static php_stream_filter *strfilter_strip_tags_create(const char *filtername, zv { php_strip_tags_filter *inst; php_stream_filter *filter = NULL; - zend_string *allowed_tags = NULL;; + zend_string *allowed_tags = NULL; php_error_docref(NULL, E_DEPRECATED, "The string.strip_tags filter is deprecated"); diff --git a/ext/zip/lib/zip_source_crc.c b/ext/zip/lib/zip_source_crc.c index 2967e47221..2ace747905 100644 --- a/ext/zip/lib/zip_source_crc.c +++ b/ext/zip/lib/zip_source_crc.c @@ -150,7 +150,7 @@ crc_read(zip_source_t *src, void *_ctx, void *data, zip_uint64_t len, zip_source st->comp_size = ctx->size; st->comp_method = ZIP_CM_STORE; st->encryption_method = ZIP_EM_NONE; - st->valid |= ZIP_STAT_SIZE|ZIP_STAT_CRC|ZIP_STAT_COMP_SIZE|ZIP_STAT_COMP_METHOD|ZIP_STAT_ENCRYPTION_METHOD;; + st->valid |= ZIP_STAT_SIZE|ZIP_STAT_CRC|ZIP_STAT_COMP_SIZE|ZIP_STAT_COMP_METHOD|ZIP_STAT_ENCRYPTION_METHOD; } return 0; } |