Fix warnings: conversion to double/float, unused variables, register keyword
This commit is contained in:
@@ -393,7 +393,9 @@ Gtk::TreePath DirBrowser::expandToDir (const Glib::ustring& absDirPath)
|
||||
|
||||
char* dcpy = strdup (absDirPath.c_str());
|
||||
char* dir = strtok (dcpy, "/\\");
|
||||
#ifdef _WIN32
|
||||
int count = 0;
|
||||
#endif
|
||||
expandSuccess = true;
|
||||
|
||||
#ifndef _WIN32
|
||||
@@ -436,8 +438,9 @@ Gtk::TreePath DirBrowser::expandToDir (const Glib::ustring& absDirPath)
|
||||
++ix;
|
||||
++i;
|
||||
}
|
||||
|
||||
#ifdef _WIN32
|
||||
count++;
|
||||
#endif
|
||||
dir = strtok(nullptr, "/\\");
|
||||
}
|
||||
|
||||
|
@@ -24,7 +24,7 @@
|
||||
#include "guiutils.h"
|
||||
|
||||
class EditorPanel;
|
||||
class ExternalEditor;
|
||||
struct ExternalEditor;
|
||||
class RTWindow;
|
||||
|
||||
class EditWindow :
|
||||
|
@@ -445,7 +445,7 @@ void FlatField::setGainMap(bool enabled) {
|
||||
flatFieldFromMetaData->set_sensitive(enabled);
|
||||
if (!enabled) {
|
||||
idle_register.add(
|
||||
[this, enabled]() -> bool
|
||||
[this]() -> bool
|
||||
{
|
||||
disableListener();
|
||||
flatFieldFromMetaData->setValue(false);
|
||||
|
@@ -30,7 +30,7 @@ namespace rtengine
|
||||
namespace procparams
|
||||
{
|
||||
|
||||
class ColorManagementParams;
|
||||
struct ColorManagementParams;
|
||||
|
||||
}
|
||||
|
||||
|
@@ -28,7 +28,7 @@ namespace rtengine
|
||||
namespace procparams
|
||||
{
|
||||
|
||||
class ColorManagementParams;
|
||||
struct ColorManagementParams;
|
||||
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user