Skip to content

Commit

Permalink
clean up unused variable warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
kevinhendricks committed Jan 9, 2024
1 parent 3e27ecc commit d0bb2b2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
1 change: 0 additions & 1 deletion src/Dialogs/ReportsWidgets/ImageFilesWidget.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,6 @@ void ImageFilesWidget::SetupTable(int sort_column, Qt::SortOrder sort_order)
int total_links = 0;
QHash<QString, QStringList> image_html_files_hash = m_Book->GetHTMLFilesUsingImages();
foreach(Resource * resource, m_AllImageResources) {
Resource::ResourceType rt = resource->Type();
QString filepath = resource->GetRelativePath();
QString path = resource->GetFullPath();
QImage image;
Expand Down
3 changes: 2 additions & 1 deletion src/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -646,8 +646,9 @@ int main(int argc, char *argv[])
#endif
// Create the required QWebEngineProfiles, Initialize the settings
// just once, installing both URLInterceptor and URLSchemeHandler as needed
// to bypass 2mb url limit
// to bypass 2mb url limit (singleton)
WebProfileMgr* profile_mgr = WebProfileMgr::instance();
Q_UNUSED(profile_mgr);

// Needs to be created on the heap so that
// the reply has time to return.
Expand Down

0 comments on commit d0bb2b2

Please sign in to comment.