Fix warnings: conversion to double/float, unused variables, register keyword

This commit is contained in:
Alexander Gruzintsev
2023-10-30 08:18:33 +01:00
parent 72bf271214
commit de82b9fc7a
8 changed files with 14 additions and 8 deletions

View File

@@ -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, "/\\");
}