hrev50123 adds 1 changeset to branch 'master'
old head: d958d336a84bf5e87d6e36637548c447cf48d19f
new head: 214f8799db8643869e52a84a629d38b4baff2382
overview:
http://cgit.haiku-os.org/haiku/log/?qt=range&q=214f8799db86+%5Ed958d336a84b
----------------------------------------------------------------------------
214f8799db86: try to fix gcc5 build on buildbot.
* I'd only reproduce the kernel build failure locally, weird.
[ Jérôme Duval <jerome.duval@xxxxxxxxx> ]
----------------------------------------------------------------------------
Revision: hrev50123
Commit: 214f8799db8643869e52a84a629d38b4baff2382
URL: http://cgit.haiku-os.org/haiku/commit/?id=214f8799db86
Author: Jérôme Duval <jerome.duval@xxxxxxxxx>
Date: Fri Mar 4 19:23:17 2016 UTC
----------------------------------------------------------------------------
2 files changed, 4 insertions(+), 3 deletions(-)
build/jam/ArchitectureRules | 5 +++--
src/kits/interface/PicturePlayer.cpp | 2 +-
----------------------------------------------------------------------------
diff --git a/build/jam/ArchitectureRules b/build/jam/ArchitectureRules
index 1736ab9..0730e2d 100644
--- a/build/jam/ArchitectureRules
+++ b/build/jam/ArchitectureRules
@@ -125,7 +125,8 @@ rule ArchitectureSetup architecture
if $(gccVersion[1]) >= 4 {
# -Wuninitialized gives too many false positives.
- HAIKU_WERROR_FLAGS_$(architecture) += -Wno-error=uninitialized ;
+ HAIKU_WERROR_FLAGS_$(architecture) += -Wno-error=uninitialized
+ -Wno-error=maybe-uninitialized ;
# TODO: remove the -Wno-unused-but-set-variable option
HAIKU_WERROR_FLAGS_$(architecture) +=
-Wno-unused-but-set-variable ;
@@ -634,7 +635,7 @@ rule ArchitectureSetupWarnings architecture
EnableWerror src preferences ;
EnableWerror src servers ;
EnableWerror src system boot ;
- EnableWerror src system kernel ;
+# EnableWerror src system kernel ;
EnableWerror src system libroot add-ons ;
EnableWerror src system libroot os ;
EnableWerror src system libroot posix locale ;
diff --git a/src/kits/interface/PicturePlayer.cpp
b/src/kits/interface/PicturePlayer.cpp
index 7d356e4..4cbc85f 100644
--- a/src/kits/interface/PicturePlayer.cpp
+++ b/src/kits/interface/PicturePlayer.cpp
@@ -675,7 +675,7 @@ PicturePlayer::_Play(const picture_player_callbacks&
callbacks, void* userData,
while (pictureReader.Remaining() > 0) {
const picture_data_entry_header* header;
- const uint8* opData;
+ const uint8* opData = NULL;
if (!pictureReader.Get(header)
|| !pictureReader.Get(opData, header->size)) {
return B_BAD_DATA;