Fix all remaining compiler warnings
[ctsim.git] / tools / pjHinterp.cpp
index 51bf5de0189cd32368d7fb5ddf8db72cd512db48..1e6ef3161f2eb1abb640dac2df47b0c0ce7153f0 100644 (file)
@@ -1,29 +1,27 @@
 /*****************************************************************************
-* ** FILE IDENTIFICATION
-* **
-* **   Name:          phm2helix.cpp
-* **   Purpose:       Take projections of a phantom object
-* **   Programmer:    Ian Kay
-* **   Date Started:  Aug 2001
-* **
-* **  This is part of the CTSim program
-* **  Copyright (C) 1983-2000 Kevin Rosenberg
-* **
-* **  $Id$
-* **
-* **  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
-* **  published by the Free Software Foundation.
-* **
-* **  This program is distributed in the hope that it will be useful,
-* **  but WITHOUT ANY WARRANTY; without even the implied warranty of
-* **  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-* **  GNU General Public License for more details.
-* **
-* **  You should have received a copy of the GNU General Public License
-* **  along with this program; if not, write to the Free Software
-* **  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
-* ******************************************************************************/
+ ** FILE IDENTIFICATION
+ **
+ **   Name:          pjHinterp.cpp
+ **   Purpose:       Interpolate helical data in projection space
+ **   Programmer:    Ian Kay and Kevin Rosenberg
+ **   Date Started:  Aug 2001
+ **
+ **  This is part of the CTSim program
+ **  Copyright (C) 1983-2009 Kevin Rosenberg
+ **
+ **  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
+ **  published by the Free Software Foundation.
+ **
+ **  This program is distributed in the hope that it will be useful,
+ **  but WITHOUT ANY WARRANTY; without even the implied warranty of
+ **  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ **  GNU General Public License for more details.
+ **
+ **  You should have received a copy of the GNU General Public License
+ **  along with this program; if not, write to the Free Software
+ **  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
+ ******************************************************************************/
 
 #include "ct.h"
 #include "timer.h"
@@ -31,7 +29,6 @@
 
 enum { O_INTERPVIEW, O_VERBOSE, O_TRACE, O_HELP, O_DEBUG, O_VERSION};
 
-
 static struct option my_options[] =
 {
         {"interpview", 1, 0, O_INTERPVIEW},
@@ -68,12 +65,13 @@ pjHinterp_main(int argc, char * const argv[])
   char* pszProjFilename = NULL;
   char* pszInterpFilename = NULL;
   bool bOptVerbose = false;
-  bool bOptDebug = 1;
+  bool bOptDebug = false;
   int optTrace = Trace::TRACE_NONE;
   char *endptr = NULL;
   char *endstr;
   int opt_interpview=-1;
-
+  UNUSED(bOptDebug);
+  
   while (1) {
     int c = getopt_long(argc, argv, "", my_options, NULL);