Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
OpenHarmony
Third Party Libpng
提交
3f8a2ed6
T
Third Party Libpng
项目概览
OpenHarmony
/
Third Party Libpng
大约 1 年 前同步成功
通知
4
Star
22
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
T
Third Party Libpng
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
体验新版 GitCode,发现更多精彩内容 >>
提交
3f8a2ed6
编写于
11月 25, 2013
作者:
G
Glenn Randers-Pehrson
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
[libpng16] Removed or marked PNG_UNUSED some harmless "dead assignments"
reported by clang scan-build.
上级
30145f29
变更
5
隐藏空白更改
内联
并排
Showing
5 changed file
with
18 addition
and
16 deletion
+18
-16
ANNOUNCE
ANNOUNCE
+8
-6
CHANGES
CHANGES
+6
-4
png.c
png.c
+4
-2
pngread.c
pngread.c
+0
-3
pngrutil.c
pngrutil.c
+0
-1
未找到文件。
ANNOUNCE
浏览文件 @
3f8a2ed6
Libpng 1.6.8beta02 - November 2
4
, 2013
Libpng 1.6.8beta02 - November 2
5
, 2013
This is not intended to be a public release. It will be replaced
within a few weeks by a public version or by another test version.
...
...
@@ -26,7 +26,7 @@ Other information:
Changes since the last public release (1.6.7):
Version 1.6.8beta01 [November 2
4
, 2013]
Version 1.6.8beta01 [November 2
5
, 2013]
Changed #ifdef PNG_HANDLE_AS_UNKNOWN_SUPPORTED in pngpread.c to
#ifdef PNG_SET_UNKNOWN_CHUNKS_SUPPORTED to be consistent with
what is in pngpriv.h.
...
...
@@ -35,16 +35,18 @@ Version 1.6.8beta01 [November 24, 2013]
Added "-Wall" to CFLAGS in contrib/pngminim/*/makefile
Conditionally compile some unused functions reported by -Wall in pngminim.
Fixed 'minimal' builds. Various obviously useful minimal configurations
don't build because of missing contrib/libtests test programs and
overly
complex dependencies in scripts/pnglibconf.dfa. This change adds
contrib/conftest/*.dfa files that can be used in automatic build
don't build because of missing contrib/libtests test programs and
overly complex dependencies in scripts/pnglibconf.dfa. This change
adds
contrib/conftest/*.dfa files that can be used in automatic build
scripts to ensure that these configurations continue to build.
Enabled WRITE_INVERT and WRITE_PACK in contrib/pngminim/encoder.
Fixed pngvalid 'fail' function declaration on the Intel C Compiler.
This reverts to the previous 'static' implementation and works round
the 'unused static function' warning by using PNG_UNUSED().
Version 1.6.8beta02 [November 24, 2013]
Version 1.6.8beta02 [November 25, 2013]
Removed or marked PNG_UNUSED some harmless "dead assignments" reported
by clang scan-build.
Send comments/corrections/commendations to png-mng-implement at lists.sf.net
(subscription required; visit
...
...
CHANGES
浏览文件 @
3f8a2ed6
...
...
@@ -4721,16 +4721,18 @@ Version 1.6.8beta01 [November 24, 2013]
Conditionally compile some unused functions reported by -Wall in
pngminim.
Fixed 'minimal' builds. Various obviously useful minimal configurations
don't build because of missing contrib/libtests test programs and
overly
complex dependencies in scripts/pnglibconf.dfa. This change adds
contrib/conftest/*.dfa files that can be used in automatic build
don't build because of missing contrib/libtests test programs and
overly complex dependencies in scripts/pnglibconf.dfa. This change
adds
contrib/conftest/*.dfa files that can be used in automatic build
scripts to ensure that these configurations continue to build.
Enabled WRITE_INVERT and WRITE_PACK in contrib/pngminim/encoder.
Fixed pngvalid 'fail' function declaration on the Intel C Compiler.
This reverts to the previous 'static' implementation and works round
the 'unused static function' warning by using PNG_UNUSED().
Version 1.6.8beta02 [November 24, 2013]
Version 1.6.8beta02 [November 25, 2013]
Removed or marked PNG_UNUSED some harmless "dead assignments" reported
by clang scan-build.
Send comments/corrections/commendations to png-mng-implement at lists.sf.net
(subscription required; visit
...
...
png.c
浏览文件 @
3f8a2ed6
...
...
@@ -201,6 +201,7 @@ png_user_version_check(png_structrp png_ptr, png_const_charp user_png_ver)
pos
=
png_safecat
(
m
,
(
sizeof
m
),
pos
,
user_png_ver
);
pos
=
png_safecat
(
m
,
(
sizeof
m
),
pos
,
" but running with "
);
pos
=
png_safecat
(
m
,
(
sizeof
m
),
pos
,
png_libpng_ver
);
PNG_UNUSED
(
pos
)
png_warning
(
png_ptr
,
m
);
#endif
...
...
@@ -772,13 +773,13 @@ png_get_copyright(png_const_structrp png_ptr)
#else
# ifdef __STDC__
return
PNG_STRING_NEWLINE
\
"libpng version 1.6.8beta02 - November 2
4
, 2013"
PNG_STRING_NEWLINE
\
"libpng version 1.6.8beta02 - November 2
5
, 2013"
PNG_STRING_NEWLINE
\
"Copyright (c) 1998-2013 Glenn Randers-Pehrson"
PNG_STRING_NEWLINE
\
"Copyright (c) 1996-1997 Andreas Dilger"
PNG_STRING_NEWLINE
\
"Copyright (c) 1995-1996 Guy Eric Schalnat, Group 42, Inc."
\
PNG_STRING_NEWLINE
;
# else
return
"libpng version 1.6.8beta02 - November 2
4
, 2013\
return
"libpng version 1.6.8beta02 - November 2
5
, 2013\
Copyright (c) 1998-2013 Glenn Randers-Pehrson\
Copyright (c) 1996-1997 Andreas Dilger\
Copyright (c) 1995-1996 Guy Eric Schalnat, Group 42, Inc."
;
...
...
@@ -1726,6 +1727,7 @@ png_icc_profile_error(png_const_structrp png_ptr, png_colorspacerp colorspace,
# endif
/* The 'reason' is an arbitrary message, allow +79 maximum 195 */
pos
=
png_safecat
(
message
,
(
sizeof
message
),
pos
,
reason
);
PNG_UNUSED
(
pos
)
/* This is recoverable, but make it unconditionally an app_error on write to
* avoid writing invalid ICC profiles into PNG files. (I.e. we handle them
...
...
pngread.c
浏览文件 @
3f8a2ed6
...
...
@@ -2811,7 +2811,6 @@ png_image_read_and_map(png_voidp argument)
break
;
default:
passes
=
0
;
png_error
(
png_ptr
,
"unknown interlace type"
);
}
...
...
@@ -3130,7 +3129,6 @@ png_image_read_composite(png_voidp argument)
break
;
default:
passes
=
0
;
png_error
(
png_ptr
,
"unknown interlace type"
);
}
...
...
@@ -3279,7 +3277,6 @@ png_image_read_background(png_voidp argument)
break
;
default:
passes
=
0
;
png_error
(
png_ptr
,
"unknown interlace type"
);
}
...
...
pngrutil.c
浏览文件 @
3f8a2ed6
...
...
@@ -3876,7 +3876,6 @@ png_read_filter_row_paeth_multibyte_pixel(png_row_infop row_info, png_bytep row,
if
(
pb
<
pa
)
pa
=
pb
,
a
=
b
;
if
(
pc
<
pa
)
a
=
c
;
c
=
b
;
a
+=
*
row
;
*
row
++
=
(
png_byte
)
a
;
}
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录