org-table-make-reference: Disable compiler warning

* lisp/org-table.el (org-table-make-reference): Comment out the code
that always returns nil, replacing it with explicit nil.  This line is
certainly a fault in logic, but we do not know of any associated bugs.
So, just leave a FIXME to potential future refactoring and avoid the
compiler complaining about this code every time.
This commit is contained in:
Ihor Radchenko 2024-01-11 14:18:35 +01:00
parent d8b0c23d5c
commit bdc60fb936
No known key found for this signature in database
GPG Key ID: 6470762A7DA11D8B
1 changed files with 3 additions and 2 deletions

View File

@ -2864,7 +2864,8 @@ list, `literal' is for the format specifier L."
(if lispp
(if (eq lispp 'literal)
elements
(if (and (eq elements "") (not keep-empty))
(if nil
;; (and (eq elements "") (not keep-empty))
;; FIXME: This branch of `if' is never used because
;; strings are never `eq' here. But changing to
;; `equal' breaks tests.