Bug 518881: Fix unused-result warnings in dom/plugins. r=bsmedberg
This commit is contained in:
@@ -42,6 +42,7 @@
|
||||
|
||||
#include "base/process_util.h"
|
||||
|
||||
#include "mozilla/unused.h"
|
||||
#include "mozilla/ipc/SyncChannel.h"
|
||||
#include "mozilla/plugins/PluginModuleParent.h"
|
||||
#include "mozilla/plugins/BrowserStreamParent.h"
|
||||
@@ -390,7 +391,7 @@ PluginModuleParent::NPP_Destroy(NPP instance,
|
||||
NPError retval = parentInstance->Destroy();
|
||||
instance->pdata = nsnull;
|
||||
|
||||
(void) PluginInstanceParent::Call__delete__(parentInstance);
|
||||
unused << PluginInstanceParent::Call__delete__(parentInstance);
|
||||
return retval;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user