Skip to content

Commit

Permalink
Refs #4473. Compiler warnings.
Browse files Browse the repository at this point in the history
  • Loading branch information
peterfpeterson committed Apr 27, 2012
1 parent 00c6a70 commit 2b7f768
Showing 1 changed file with 2 additions and 2 deletions.
Expand Up @@ -33,10 +33,10 @@ namespace Mantid
typedef typename ContainerType::value_type DestElementType; typedef typename ContainerType::value_type DestElementType;


// Check for a container-like object // Check for a container-like object
Py_ssize_t length(0);
try try
{ {
length = len(value); Py_ssize_t length = len(value);
UNUSED_ARG(length);
} }
catch(boost::python::error_already_set&) catch(boost::python::error_already_set&)
{ {
Expand Down

0 comments on commit 2b7f768

Please sign in to comment.