Permalink
Browse files

Refs #4473. Compiler warnings.

  • Loading branch information...
1 parent 00c6a70 commit 2b7f768ed91cd39c658d9376072c18d3a4e582ac @peterfpeterson peterfpeterson committed Apr 27, 2012
@@ -33,10 +33,10 @@ namespace Mantid
typedef typename ContainerType::value_type DestElementType;
// Check for a container-like object
- Py_ssize_t length(0);
try
{
- length = len(value);
+ Py_ssize_t length = len(value);
+ UNUSED_ARG(length);
}
catch(boost::python::error_already_set&)
{

0 comments on commit 2b7f768

Please sign in to comment.