8000 Fix multiple unreferenced local variable warnings by Kojoley · Pull Request #9464 · matplotlib/matplotlib · GitHub
[go: up one dir, main page]

Skip to content

Fix multiple unreferenced local variable warnings #9464

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Oct 18, 2017
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/_backend_agg_wrapper.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -378,7 +378,7 @@ PyRendererAgg_draw_path_collection(PyRendererAgg *self, PyObject *args, PyObject
antialiaseds,
offset_position)));
}
catch (py::exception &e)
catch (const py::exception &)
{
return NULL;
}
Expand Down
4 changes: 2 additions & 2 deletions src/_path_wrapper.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -283,7 +283,7 @@ static PyObject *Py_get_path_collection_extents(PyObject *self, PyObject *args,
(get_path_collection_extents(
master_transform, paths, transforms, offsets, offset_trans, e)));
}
catch (py::exception &e)
catch (const py::exception &)
{
return NULL;
}
Expand Down Expand Up @@ -351,7 +351,7 @@ static PyObject *Py_point_in_path_collection(PyObject *self, PyObject *args, PyO
offset_position,
result)));
}
catch (py::exception &e)
catch (const py::exception &)
{
return NULL;
}
Expand Down
2 changes: 1 addition & 1 deletion src/py_exceptions.h
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ class exception : public std::exception
{ \
a; \
} \
catch (const py::exception &e) \
catch (const py::exception &) \
{ \
{ \
cleanup; \
Expand Down
0