Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(111)

Unified Diff: third_party/libpng16/png.c

Issue 1607053003: XFA: Unconditionally use static png_gt() in png.c (Closed) Base URL: https://pdfium.googlesource.com/pdfium.git@xfa
Patch Set: README.pdfium Created 4 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « third_party/libpng16/README.pdfium ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/libpng16/png.c
diff --git a/third_party/libpng16/png.c b/third_party/libpng16/png.c
index c183e3f8faf8f38cee95d8fb7b7edc9c2297cb64..1cf5271046863084329f4b45e1919e126d07e0a5 100644
--- a/third_party/libpng16/png.c
+++ b/third_party/libpng16/png.c
@@ -2464,7 +2464,8 @@ png_colorspace_set_rgb_coefficients(png_structrp png_ptr)
#endif /* COLORSPACE */
-#ifdef __GNUC__
Nico 2016/01/19 21:46:23 other possible fixes: * Change this line to `#if
Oliver Chang 2016/01/19 22:35:46 Hmm, I think this is still a valuable warning to k
+/* #ifdef __GNUC__ */
+#if 1
/* This exists solely to work round a warning from GNU C. */
static int /* PRIVATE */
png_gt(size_t a, size_t b)
« no previous file with comments | « third_party/libpng16/README.pdfium ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698