me
/
guix
Archived
1
0
Fork 0

lint: Avoid calls to 'package-field-location' with #f as the field.

* guix/lint.scm (%make-warning): Call 'package-field-location' only when
FIELD is true.
master
Ludovic Courtès 2020-08-23 22:11:31 +02:00
parent a8c8f6fe91
commit 68193624d1
No known key found for this signature in database
GPG Key ID: 090B11993D9AEBB5
1 changed files with 1 additions and 1 deletions

View File

@ -139,7 +139,7 @@
message-text
message-data
(or location
(package-field-location package field)
(and field (package-field-location package field))
(package-location package))))
(define-syntax make-warning