[Insight-developers] VNL Warning: Is there an equivalent to itkNotUsed?

Johnson, Hans J hans-johnson at uiowa.edu
Tue Aug 16 11:54:33 EDT 2011


I am trying to silence warnings from ITK for external tools.  I've noticed this warning that should be quite easy to silence, but I don't know the "vxl" compliant way to do it.

Modules/ThirdParty/VNL/src/vxl/core/vnl/vnl_diag_matrix.h

  //: get element with boundary checks.
  inline T get (unsigned r, unsigned c) const {
    assert(r == c); assert (r<size()); return diagonal_[r];
  }

/scratch/johnsonhj/src/Slicer/Applications/CLI/DiffusionApplications/ResampleDTI/ResampleDTI.cxx:1144:   instantiated from here
/scratch/johnsonhj/src/Slicer-git-itkv4/ITKv4/Modules/ThirdParty/VNL/src/vxl/core/vnl/vnl_diag_matrix.h:106: warning: unused parameter ‘c’ [-Wunused-parameter]

Any recommendations on how to silence this?

Thanks,
Hans

--
Hans J. Johnson, Ph.D.
hans-johnson at uiowa.edu<mailto:hans-johnson at uiowa.edu>
Assistant Professor of Psychiatry
University of Iowa Carver College of Medicine
W278 GH, 200 Hawkins Drive
Iowa City, Iowa 52242
Phone:  319-353-8587


________________________________
Notice: This UI Health Care e-mail (including attachments) is covered by the Electronic Communications Privacy Act, 18 U.S.C. 2510-2521, is confidential and may be legally privileged.  If you are not the intended recipient, you are hereby notified that any retention, dissemination, distribution, or copying of this communication is strictly prohibited.  Please reply to the sender that you have received the message in error, then delete it.  Thank you.
________________________________
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.itk.org/mailman/private/insight-developers/attachments/20110816/f07a4edb/attachment.htm>


More information about the Insight-developers mailing list