зеркало из https://github.com/mozilla/gecko-dev.git
Uninitialized variable compiler warnings on Linux
This commit is contained in:
Родитель
c07d17452c
Коммит
78027b8dcd
|
@ -455,7 +455,7 @@ void
|
|||
nsJVMMgr::ReportJVMError(nsresult err)
|
||||
{
|
||||
MWContext* cx = XP_FindSomeContext();
|
||||
char *s;
|
||||
char *s = NULL;
|
||||
switch (err) {
|
||||
case NS_JVM_ERROR_NO_CLASSES: {
|
||||
s = PR_smprintf(XP_GetString(XP_JAVA_NO_CLASSES));
|
||||
|
|
|
@ -503,7 +503,7 @@ NPL_WriteReady(NET_StreamClass *stream)
|
|||
int
|
||||
NPL_Write(NET_StreamClass *stream, const unsigned char *str, int32 len)
|
||||
{
|
||||
int ret;
|
||||
int ret=0;
|
||||
URL_Struct *urls = (URL_Struct *)stream->data_object;
|
||||
np_stream *newstream = np_get_stream(urls);
|
||||
|
||||
|
@ -2610,7 +2610,7 @@ np_setwindow(np_instance *instance, NPWindow *appWin)
|
|||
*/
|
||||
NPEmbeddedApp* app;
|
||||
np_data* ndata;
|
||||
LO_EmbedStruct* lo_struct;
|
||||
LO_EmbedStruct* lo_struct=NULL;
|
||||
|
||||
if (instance)
|
||||
{
|
||||
|
|
|
@ -82,7 +82,7 @@ RDFJSec_NextPrincipal(RDF_Cursor c)
|
|||
RDF_Error
|
||||
RDFJSec_ReleaseCursor(RDF_Cursor c)
|
||||
{
|
||||
RDF_Error err;
|
||||
RDF_Error err = 0;
|
||||
if (c != NULL) {
|
||||
err = RDF_DisposeCursor(c);
|
||||
}
|
||||
|
|
|
@ -467,7 +467,7 @@ nlocalStoreDisposeCursor (RDFT rdf, RDF_Cursor c)
|
|||
DBMAs
|
||||
makeAsBlock (void* v, RDF_ValueType type, PRBool tv, size_t *size)
|
||||
{
|
||||
size_t vsize;
|
||||
size_t vsize=0;
|
||||
DBMAs ans;
|
||||
int rem = 0;
|
||||
/*
|
||||
|
|
|
@ -815,7 +815,7 @@ CookieGetNextValue(RDFT rdf, RDF_Cursor c)
|
|||
RDF_Error
|
||||
CookieDisposeCursor(RDFT rdf, RDF_Cursor c)
|
||||
{
|
||||
RDF_Error err;
|
||||
RDF_Error err=0;
|
||||
|
||||
if (c != NULL)
|
||||
{
|
||||
|
|
Загрузка…
Ссылка в новой задаче