← Back to team overview

ubuntu-webapps-bugs team mailing list archive

[Bug 1322152] Re: Compiler warnings in file picker code

 

** Changed in: oxide
       Status: Fix Committed => Fix Released

-- 
You received this bug notification because you are a member of Ubuntu
WebApps bug tracking, which is subscribed to Oxide.
https://bugs.launchpad.net/bugs/1322152

Title:
  Compiler warnings in file picker code

Status in Oxide Webview:
  Fix Released

Bug description:
  There's a couple of warnings we should probably fix:

  ../../../../qt/core/glue/oxide_qt_file_picker_delegate.cc: In member function ‘void oxide::qt::FilePickerDelegate::Done(const QFileInfoList&, oxide::qt::FilePickerDelegate::Mode)’:
  ../../../../qt/core/glue/oxide_qt_file_picker_delegate.cc:83:45: warning: ‘permissions’ may be used uninitialized in this function [-Wmaybe-uninitialized]
     file_picker_->Done(selection, permissions);

  ../../../../qt/core/browser/oxide_qt_file_picker.cc: In member function ‘virtual void oxide::qt::FilePicker::Run(const content::FileChooserParams&)’:
  ../../../../qt/core/browser/oxide_qt_file_picker.cc:56:61: warning: ‘mode’ may be used uninitialized in this function [-Wmaybe-uninitialized]
     delegate_->Show(mode, title, defaultFileName, acceptTypes);

To manage notifications about this bug go to:
https://bugs.launchpad.net/oxide/+bug/1322152/+subscriptions


References