csys:environ:find-cells: issue warning on empty result

This commit is contained in:
Helmut Merz 2026-07-31 08:57:42 +02:00
parent 8c33e4bbb6
commit 98df278cf6

View file

@ -65,7 +65,9 @@
(defun find-cells (reg addr) (defun find-cells (reg addr)
(destructuring-bind (dom cat &optional (key "")) addr (destructuring-bind (dom cat &optional (key "")) addr
(let ((idx (gethash (list dom cat) reg))) (let* ((idx (gethash (list dom cat) reg))
(when idx (cells (when idx (index:query idx key))))
(index:query idx key))))) (unless cells
(util:lgw "not found" addr reg idx))
cells)))