Bug 647552 - Uninitialized variables in GLXLibrary::EnsureInitialized; r=bjacob

This commit is contained in:
Ms2ger 2011-04-07 21:55:10 -07:00
parent 49ca2b6db8
commit d9bb1a34fe

View File

@ -196,9 +196,9 @@ GLXLibrary::EnsureInitialized()
}
int screen = DefaultScreen(display);
const char *serverVendor;
const char *serverVersionStr;
const char *extensionsStr;
const char *serverVendor = NULL;
const char *serverVersionStr = NULL;
const char *extensionsStr = NULL;
// This scope is covered by a ScopedXErrorHandler to catch X errors in GLX
// calls. See bug 632867 comment 3: Mesa versions up to 7.10 cause a