Skip to content

Commit fdab517

Browse files
committed
Remove unused variable (oversight)
1 parent e5dd168 commit fdab517

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

include/pybind11/pybind11.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -972,7 +972,7 @@ class cpp_function : public function {
972972
}
973973
}
974974
}
975-
} catch (error_already_set &e) {
975+
} catch (error_already_set &) {
976976
// The Python error reporting has already been handled.
977977
return nullptr;
978978
#ifdef __GLIBCXX__

0 commit comments

Comments
 (0)