mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-08 10:44:56 +00:00
Bug 665595 - Fix unused variable warning in ExternalHelperAppParent.cpp; r=dwitte
This commit is contained in:
parent
6733296f4b
commit
70e7a17812
@ -46,6 +46,7 @@
|
||||
#include "nsStringStream.h"
|
||||
|
||||
#include "mozilla/unused.h"
|
||||
#include "mozilla/Util.h" // for DebugOnly
|
||||
|
||||
namespace mozilla {
|
||||
namespace dom {
|
||||
@ -108,7 +109,7 @@ ExternalHelperAppParent::RecvOnDataAvailable(const nsCString& data,
|
||||
|
||||
NS_ASSERTION(mPending, "must be pending!");
|
||||
nsCOMPtr<nsIInputStream> stringStream;
|
||||
nsresult rv = NS_NewByteInputStream(getter_AddRefs(stringStream), data.get(), count, NS_ASSIGNMENT_DEPEND);
|
||||
DebugOnly<nsresult> rv = NS_NewByteInputStream(getter_AddRefs(stringStream), data.get(), count, NS_ASSIGNMENT_DEPEND);
|
||||
NS_ASSERTION(NS_SUCCEEDED(rv), "failed to create dependent string!");
|
||||
mStatus = mListener->OnDataAvailable(this, nsnull, stringStream, offset, count);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user