2025-04-26 Fred Gleason <fredg@paravelsystems.com>

* Cleaned up compiler warnings in 'utils/rdexport/'.

Signed-off-by: Fred Gleason <fredg@paravelsystems.com>
This commit is contained in:
Fred Gleason 2025-04-26 18:16:36 -04:00
parent 11591fd175
commit a5fdcf0203
2 changed files with 4 additions and 2 deletions

View File

@ -25016,3 +25016,5 @@
* Cleaned up compiler warnings in 'utils/rdclilogedit/'. * Cleaned up compiler warnings in 'utils/rdclilogedit/'.
2025-04-26 Fred Gleason <fredg@paravelsystems.com> 2025-04-26 Fred Gleason <fredg@paravelsystems.com>
* Cleaned up compiler warnings in 'utils/rddbmgr/'. * Cleaned up compiler warnings in 'utils/rddbmgr/'.
2025-04-26 Fred Gleason <fredg@paravelsystems.com>
* Cleaned up compiler warnings in 'utils/rdexport/'.

View File

@ -2,7 +2,7 @@
// //
// A Batch Exporter for Rivendell. // A Batch Exporter for Rivendell.
// //
// (C) Copyright 2016-2023 Fred Gleason <fredg@paravelsystems.com> // (C) Copyright 2016-2025 Fred Gleason <fredg@paravelsystems.com>
// //
// This program is free software; you can redistribute it and/or modify // This program is free software; you can redistribute it and/or modify
// it under the terms of the GNU General Public License version 2 as // it under the terms of the GNU General Public License version 2 as
@ -485,7 +485,7 @@ void MainObject::ExportCut(RDCart *cart,RDCut *cut)
printf("%s\n",(const char *)f0.at(f0.size()-1).toUtf8()); printf("%s\n",(const char *)f0.at(f0.size()-1).toUtf8());
if(export_xml) { if(export_xml) {
FILE *f=NULL; FILE *f=NULL;
f0=conv->destinationFile().split(".",QString::KeepEmptyParts); f0=conv->destinationFile().split(".",Qt::KeepEmptyParts);
QString filename; QString filename;
for(int i=0;i<f0.size()-1;i++) { for(int i=0;i<f0.size()-1;i++) {
filename+=f0[i]+"."; filename+=f0[i]+".";