Skip to content

Commit

Permalink
Eliminate another compiler-warning, with -DTCL_NO_DEPRECATED=1
Browse files Browse the repository at this point in the history
  • Loading branch information
jan.nijtmans committed Jul 12, 2023
1 parent e93dc35 commit 8984989
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions generic/tclDecls.h
Original file line number Diff line number Diff line change
Expand Up @@ -4036,9 +4036,7 @@ extern const TclStubs *tclStubsPtr;
#undef Tcl_GetBooleanFromObj
#undef Tcl_GetBoolean
#undef TclGetByteArrayFromObj
#if !defined(TCL_NO_DEPRECATED)
# undef Tcl_GetByteArrayFromObj
#endif
#undef Tcl_GetByteArrayFromObj
#if defined(USE_TCL_STUBS)
# if TCL_MAJOR_VERSION < 9 || !defined(TCL_NO_DEPRECATED)
# define Tcl_GetBytesFromObj(interp, objPtr, sizePtr) \
Expand Down

0 comments on commit 8984989

Please sign in to comment.