mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Fix build warnings about the "defined but not used" functions PumpEvents() & QuitPumpingEvents(), in netwerk test code. (Bug 529350) r=biesi
This commit is contained in:
parent
eefe027f32
commit
bffabf5190
@ -59,7 +59,7 @@ public:
|
||||
};
|
||||
NS_IMPL_THREADSAFE_ISUPPORTS1(nsQuitPumpingEvent, nsIRunnable)
|
||||
|
||||
static void PumpEvents()
|
||||
static inline void PumpEvents()
|
||||
{
|
||||
nsCOMPtr<nsIThread> thread = do_GetCurrentThread();
|
||||
|
||||
@ -70,7 +70,7 @@ static void PumpEvents()
|
||||
NS_ProcessPendingEvents(thread);
|
||||
}
|
||||
|
||||
static void QuitPumpingEvents()
|
||||
static inline void QuitPumpingEvents()
|
||||
{
|
||||
// Dispatch a task that toggles gKeepPumpingEvents so that we flush all
|
||||
// of the pending tasks before exiting from PumpEvents.
|
||||
|
@ -113,7 +113,7 @@ main(int argc, char **argv)
|
||||
printf("assuming -std\n");
|
||||
}
|
||||
if (urlParser) {
|
||||
printf("have urlParser @%p\n", urlParser.get());
|
||||
printf("have urlParser @%p\n", static_cast<void*>(urlParser.get()));
|
||||
|
||||
char *spec = argv[1];
|
||||
PRUint32 schemePos, authPos, pathPos;
|
||||
|
Loading…
Reference in New Issue
Block a user