Ver Fonte

Code compilation warning fixes

Ivan Arkhipov há 4 anos atrás
pai
commit
0cb53c6180

+ 1 - 1
Third_party/EasyLogging++/easylogging++.cc

@@ -2184,7 +2184,7 @@ void Storage::setApplicationArguments(int argc, char** argv) {
 } // namespace base
 
 // LogDispatchCallback
-void LogDispatchCallback::handle(const LogDispatchData* data) {
+void LogDispatchCallback::handle(const LogDispatchData* ) {
 #if defined(ELPP_THREAD_SAFE)
   base::threading::ScopedLock scopedLock(m_fileLocksMapLock);
   std::string filename = data->logMessage()->logger()->typedConfigurations()->filename(data->logMessage()->level());

+ 1 - 1
src/subfiles/oggsubfile.cpp

@@ -12,7 +12,7 @@ SubfileData Subfile<OGG>::BuildForExport(const BinaryData &file_data) {
     return result;
 }
 
-BinaryData Subfile<OGG>::BuildForImport(const BinaryData &old_data, const SubfileData &data) {
+BinaryData Subfile<OGG>::BuildForImport(const BinaryData &, const SubfileData &data) {
     BinaryData file_size = BinaryData::FromNumber<4>(data.binary_data.size() - 8);
     BinaryData file_id = BinaryData::FromNumber<4>(data.options["fid"].as<int>());