diff options
| author | Paul Eggert | 2025-04-19 11:58:34 -0700 |
|---|---|---|
| committer | Paul Eggert | 2025-04-19 19:31:24 -0700 |
| commit | 4fa10b5760c7ded3cc18d0da614a5f0cd38edfef (patch) | |
| tree | 3e662926790e28e7eaf36a9df7c1f862d5fc1ff5 | |
| parent | 03a1df37990049c2ad9491b150a8983355a213f8 (diff) | |
| download | emacs-4fa10b5760c7ded3cc18d0da614a5f0cd38edfef.tar.gz emacs-4fa10b5760c7ded3cc18d0da614a5f0cd38edfef.zip | |
Pacify "statement not reached" in value_cmp
Problem found by Oracle Developer Studio 12.6.
* src/fns.c (value_cmp): Omit unnecessary goto.
| -rw-r--r-- | src/fns.c | 4 |
1 files changed, 1 insertions, 3 deletions
| @@ -3113,9 +3113,7 @@ value_cmp (Lisp_Object a, Lisp_Object b, int maxdepth) | |||
| 3113 | } | 3113 | } |
| 3114 | if (NILP (b)) | 3114 | if (NILP (b)) |
| 3115 | return 1; | 3115 | return 1; |
| 3116 | else | 3116 | goto type_mismatch; |
| 3117 | goto type_mismatch; | ||
| 3118 | goto tail_recurse; | ||
| 3119 | 3117 | ||
| 3120 | case Lisp_Vectorlike: | 3118 | case Lisp_Vectorlike: |
| 3121 | if (VECTORLIKEP (b)) | 3119 | if (VECTORLIKEP (b)) |