Skip to content

Commit

Permalink
Avoid warning on unused variable.
Browse files Browse the repository at this point in the history
Avoid warning on unused variable when compiled without character set
conversion support.
  • Loading branch information
jriesmeier committed Jan 28, 2025
1 parent 3ee7c15 commit 8db96a6
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
4 changes: 3 additions & 1 deletion dcmsr/apps/dsr2html.cc
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*
*
* Copyright (C) 2000-2024, OFFIS e.V.
* Copyright (C) 2000-2025, OFFIS e.V.
* All rights reserved. See COPYRIGHT file for details.
*
* This software and supporting documentation were developed by
Expand Down Expand Up @@ -207,7 +207,9 @@ int main(int argc, char *argv[])
E_FileReadMode opt_readMode = ERM_autoDetect;
E_TransferSyntax opt_ixfer = EXS_Unknown;
OFBool opt_checkAllStrings = OFFalse;
#ifdef DCMTK_ENABLE_CHARSET_CONVERSION
OFBool opt_convertToUTF8 = OFFalse;
#endif

OFConsoleApplication app(OFFIS_CONSOLE_APPLICATION, "Render DICOM SR file and data set to HTML/XHTML", rcsid);
OFCommandLine cmd;
Expand Down
4 changes: 3 additions & 1 deletion dcmsr/apps/dsrdump.cc
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*
*
* Copyright (C) 2000-2023, OFFIS e.V.
* Copyright (C) 2000-2025, OFFIS e.V.
* All rights reserved. See COPYRIGHT file for details.
*
* This software and supporting documentation were developed by
Expand Down Expand Up @@ -106,7 +106,9 @@ int main(int argc, char *argv[])
OFBool opt_printFilename = OFFalse;
E_FileReadMode opt_readMode = ERM_autoDetect;
E_TransferSyntax opt_ixfer = EXS_Unknown;
#ifdef DCMTK_ENABLE_CHARSET_CONVERSION
OFBool opt_convertToUTF8 = OFFalse;
#endif

OFConsoleApplication app(OFFIS_CONSOLE_APPLICATION, "Dump DICOM SR file and data set", rcsid);
OFCommandLine cmd;
Expand Down

0 comments on commit 8db96a6

Please sign in to comment.