Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit f082f0e

Browse files
authored
Remove unused variable
1 parent f07c6fd commit f082f0e

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/_tkagg.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,7 @@ static int PyAggImagePhoto(ClientData clientdata, Tcl_Interp *interp, int
118118
try {
119119
destbuffer = new agg::int8u[deststride * destheight];
120120
}
121-
catch (const std::bad_alloc& e) {
121+
catch (const std::bad_alloc &) {
122122
TCL_APPEND_RESULT(interp, "could not allocate memory", (char *)NULL);
123123
return TCL_ERROR;
124124
}

0 commit comments

Comments
 (0)