Bug 833447 - nsDOMBlobBuilder.cpp:284:8: warning: variable ‘nativeEOL’ set but not used [-Wunused-but-set-variable], r=khuey

This commit is contained in:
Andrea Marchesini 2013-01-23 19:05:50 +01:00
parent 1644fcb9fe
commit a33468c01d

View File

@ -281,7 +281,6 @@ nsDOMMultipartFile::InitFile(JSContext* aCx,
NS_ENSURE_TRUE(aArgc > 0, NS_ERROR_UNEXPECTED);
bool nativeEOL = false;
if (aArgc > 1) {
FilePropertyBag d;
if (!d.Init(aCx, nullptr, aArgv[1])) {
@ -289,7 +288,6 @@ nsDOMMultipartFile::InitFile(JSContext* aCx,
}
mName = d.mName;
mContentType = d.mType;
nativeEOL = d.mEndings == EndingTypesValues::Native;
}
// We expect to get a path to represent as a File object,