diff options
Diffstat (limited to 'src/editfns.c')
| -rw-r--r-- | src/editfns.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/src/editfns.c b/src/editfns.c index 763d95bb8fa..cb09ea8a31a 100644 --- a/src/editfns.c +++ b/src/editfns.c | |||
| @@ -46,7 +46,6 @@ along with GNU Emacs. If not, see <https://www.gnu.org/licenses/>. */ | |||
| 46 | 46 | ||
| 47 | #include "composite.h" | 47 | #include "composite.h" |
| 48 | #include "intervals.h" | 48 | #include "intervals.h" |
| 49 | #include "ptr-bounds.h" | ||
| 50 | #include "systime.h" | 49 | #include "systime.h" |
| 51 | #include "character.h" | 50 | #include "character.h" |
| 52 | #include "buffer.h" | 51 | #include "buffer.h" |
| @@ -3131,8 +3130,6 @@ styled_format (ptrdiff_t nargs, Lisp_Object *args, bool message) | |||
| 3131 | string was not copied into the output. | 3130 | string was not copied into the output. |
| 3132 | It is 2 if byte I was not the first byte of its character. */ | 3131 | It is 2 if byte I was not the first byte of its character. */ |
| 3133 | char *discarded = (char *) &info[nspec_bound]; | 3132 | char *discarded = (char *) &info[nspec_bound]; |
| 3134 | info = ptr_bounds_clip (info, info_size); | ||
| 3135 | discarded = ptr_bounds_clip (discarded, formatlen); | ||
| 3136 | memset (discarded, 0, formatlen); | 3133 | memset (discarded, 0, formatlen); |
| 3137 | 3134 | ||
| 3138 | /* Try to determine whether the result should be multibyte. | 3135 | /* Try to determine whether the result should be multibyte. |