Public bug reported:

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);

** Affects: oxide
     Importance: Low
         Status: Triaged

** Changed in: oxide
   Importance: Undecided => Low

** Changed in: oxide
       Status: New => Triaged

-- 
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:
  Triaged

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

-- 
Mailing list: https://launchpad.net/~ubuntu-webapps-bugs
Post to     : ubuntu-webapps-bugs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~ubuntu-webapps-bugs
More help   : https://help.launchpad.net/ListHelp

Reply via email to