goo/gfile.cc | 6 +++--- poppler/GlobalParamsWin.cc | 4 ++-- 2 files changed, 5 insertions(+), 5 deletions(-)
New commits: commit 30ccee028213efcf3d3a103ae6003bdcd15e1126 Author: Albert Astals Cid <[email protected]> Date: Tue Jan 9 19:42:53 2018 +0100 Fix more Wmissing-field-initializer by using the default initializer diff --git a/goo/gfile.cc b/goo/gfile.cc index e19a1532..e4c9b9fb 100644 --- a/goo/gfile.cc +++ b/goo/gfile.cc @@ -19,7 +19,7 @@ // Copyright (C) 2006 Kristian Høgsberg <[email protected]> // Copyright (C) 2008 Adam Batkin <[email protected]> // Copyright (C) 2008, 2010, 2012, 2013 Hib Eris <[email protected]> -// Copyright (C) 2009, 2012, 2014, 2017 Albert Astals Cid <[email protected]> +// Copyright (C) 2009, 2012, 2014, 2017, 2018 Albert Astals Cid <[email protected]> // Copyright (C) 2009 Kovid Goyal <[email protected]> // Copyright (C) 2013 Adam Reichold <[email protected]> // Copyright (C) 2013, 2017 Adrian Johnson <[email protected]> @@ -606,10 +606,10 @@ GooFile::GooFile(HANDLE handleA) : handle(handleA) { int GooFile::read(char *buf, int n, Goffset offset) const { DWORD m; - LARGE_INTEGER largeInteger = {0}; + LARGE_INTEGER largeInteger = {}; largeInteger.QuadPart = offset; - OVERLAPPED overlapped = {0}; + OVERLAPPED overlapped = {}; overlapped.Offset = largeInteger.LowPart; overlapped.OffsetHigh = largeInteger.HighPart; diff --git a/poppler/GlobalParamsWin.cc b/poppler/GlobalParamsWin.cc index aca10a68..1734f6eb 100644 --- a/poppler/GlobalParamsWin.cc +++ b/poppler/GlobalParamsWin.cc @@ -9,7 +9,7 @@ // Copyright (C) 2013 Adam Reichold <[email protected]> // Copyright (C) 2013 Dmytro Morgun <[email protected]> // Copyright (C) 2017 Christoph Cullmann <[email protected]> - // Copyright (C) 2017 Albert Astals Cid <[email protected]> + // Copyright (C) 2017, 2018 Albert Astals Cid <[email protected]> TODO: instead of a fixed mapping defined in displayFontTab, it could scan the whole fonts directory, parse TTF files and build font @@ -174,7 +174,7 @@ static const struct { {"MS-Mincho", nullptr, "msmincho.ttf", gFalse}, {"Batang", nullptr, "batang.ttf", gFalse}, {"ArialUnicode", nullptr, "arialuni.ttf", gTrue}, - {nullptr} + { } }; #define FONTS_SUBDIR "\\fonts"
_______________________________________________ poppler mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/poppler
