From c619da1a22fcc67654b6c7860272aa2ce5deadaa Mon Sep 17 00:00:00 2001 From: Tom Tromey Date: Thu, 3 Apr 2025 12:11:15 -0600 Subject: Make gdb/guile codespell-clean This cleans up the last codespell reports in the Guile directory and adds gdb/guile to pre-commit. It also tells codespell to ignore URLs. I think this is warranted because many URLs don't really contain words per se; and furthermore if any URL-checking is needed at all, it would be for liveness and not spelling. Also I was wondering why the codespell config is in contrib and not gdb/setup.cfg. Approved-By: Tom de Vries --- gdb/guile/scm-value.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gdb/guile/scm-value.c') diff --git a/gdb/guile/scm-value.c b/gdb/guile/scm-value.c index 0f4a6a4..88132e0 100644 --- a/gdb/guile/scm-value.c +++ b/gdb/guile/scm-value.c @@ -604,7 +604,7 @@ gdbscm_value_dynamic_type (SCM self) type = value_rtti_type (value, NULL, NULL, NULL); else { - /* Re-use object's static type. */ + /* Reuse object's static type. */ type = NULL; } } -- cgit v1.1