mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-07-26 04:35:39 +03:00
Another package that suffers from stricter -Werror in gcc8. Instead of trying to fix massive -Werror=parentheses case with upstream commit abf19de1ad394523ccb8825e49d719063b2ea27f (35 changed files, 972 additions/deletions), just upgrade to the next version and shut up a single -Werror=maybe-uninitialized failure. Test still passes on x86_64 and mipsel at least.
11 lines
367 B
Diff
11 lines
367 B
Diff
--- a/src/lib/StarGraphicStruct.cxx
|
|
+++ b/src/lib/StarGraphicStruct.cxx
|
|
@@ -152,7 +152,7 @@
|
|
{
|
|
if (!pattern) return false;
|
|
STOFFVec2i sz(8,8);
|
|
- unsigned tmpBufferPosition, tmpDIBFileSize;
|
|
+ unsigned tmpBufferPosition, tmpDIBFileSize = 0;
|
|
auto tmpDIBBuffer=createAndInitBMPData(sz, tmpDIBFileSize, tmpBufferPosition);
|
|
if (!tmpDIBBuffer) return false;
|
|
|