Skip to content

Commit 655868d

Browse files
committed
Eliminate return from void function.
[SVN r25742]
1 parent 92ff4ab commit 655868d

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

include/boost/python/object_protocol.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ object getitem(Target const& target, Key const& key)
4747
template <class Key, class Value>
4848
void setitem(object const& target, Key const& key, Value const& value)
4949
{
50-
return setitem(target, object(key), object(value));
50+
setitem(target, object(key), object(value));
5151
}
5252

5353
template <class Key>

0 commit comments

Comments
 (0)