Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:marvin24
llmozlib2
abuild.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File abuild.patch of Package llmozlib2
From: Wolfgang Rosenauer <stark@suse.de> Subject: Fix compiler warnings which disturb autobuild References: ### autobuild ... testing for serious compiler warnings Program is using uninitialized variables. Note the difference between "is used" and "may be used". Please investigate and fix. Problematic file(s) and their linenumbers: nsUnicodeToJamoTTF.cpp: 855 nsObjectFrame.cpp: 1933 ### ### autobuild ... testing for serious compiler warnings Program returns random data in a function. Please fix. Problematic file(s) and their linenumbers: nsWebShell.cpp: 562 Program is using uninitialized variables. Note the difference between "is used" and "may be used". Please investigate and fix. Problematic file(s) and their linenumbers: nsFrame.cpp: 3536 ### ### autobuild ERROR: Program returns random data in a function. Please fix. Problematic file(s) and their linenumbers: ns4xPlugin.cpp: 2247 ### Index: gfx/src/gtk/nsFontMetricsUtils.cpp =================================================================== --- gfx/src/gtk/nsFontMetricsUtils.cpp.orig +++ gfx/src/gtk/nsFontMetricsUtils.cpp @@ -75,6 +75,7 @@ NS_FontMetricsGetHints(void) #ifdef MOZ_ENABLE_COREXFONTS return nsFontMetricsGTK::GetHints(); #endif + return 1; } nsresult @@ -95,6 +96,7 @@ NS_FontMetricsFamilyExists(nsIDeviceCont #ifdef MOZ_ENABLE_COREXFONTS return nsFontMetricsGTK::FamilyExists(aDevice, aName); #endif + return 1; } #if defined(MOZ_ENABLE_XFT) && defined(MOZ_ENABLE_COREXFONTS) Index: intl/uconv/ucvko/nsUnicodeToJamoTTF.cpp =================================================================== --- intl/uconv/ucvko/nsUnicodeToJamoTTF.cpp.orig +++ intl/uconv/ucvko/nsUnicodeToJamoTTF.cpp @@ -842,6 +842,7 @@ PRInt16 JamoSrchReplace (const JamoNormM { const JamoNormMap *match; JamoNormMap key; + key.liga = 0; // cluster array is made up of PRUint8's to save memory // and we have to subtract aOffset from the input before looking it up. Index: docshell/base/nsWebShell.cpp =================================================================== --- docshell/base/nsWebShell.cpp.orig +++ docshell/base/nsWebShell.cpp @@ -565,6 +565,7 @@ nsWebShell::OnLinkClickSync(nsIContent * NS_ABORT_IF_FALSE(0,"unexpected link verb"); return NS_ERROR_UNEXPECTED; } + return NS_ERROR_UNEXPECTED; } NS_IMETHODIMP Index: layout/generic/nsFrame.cpp =================================================================== --- layout/generic/nsFrame.cpp.orig +++ layout/generic/nsFrame.cpp @@ -3576,7 +3576,7 @@ nsFrame::PeekOffsetParagraph(nsPresConte #ifdef DEBUG_paragraph printf("Selecting paragraph\n"); #endif - nsIFrame* blockFrame; + nsIFrame* blockFrame = NULL; nsCOMPtr<nsILineIterator> iter (getter_AddRefs(GetBlockFrameAndLineIter(this, &blockFrame))); if (!blockFrame || !iter) return NS_ERROR_UNEXPECTED; Index: modules/plugin/base/src/ns4xPlugin.cpp =================================================================== --- modules/plugin/base/src/ns4xPlugin.cpp.orig +++ modules/plugin/base/src/ns4xPlugin.cpp @@ -2244,6 +2244,8 @@ _setvalue(NPP npp, NPPVariable variable, default: return NPERR_NO_ERROR; } + /* To keep gcc happy. */ + return NPERR_NO_ERROR; } ////////////////////////////////////////////////////////////////////////
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor