util/lint/checkpatch.pl: Fix "uninitialized value" error message

Change-Id: I74807f240779060158c6769f63a6e9438a6e5fbe
Signed-off-by: Elyes Haouas <ehaouas@noos.fr>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/64173
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Martin L Roth <gaumless@tutanota.com>
This commit is contained in:
Elyes Haouas 2022-05-08 10:11:40 +02:00 committed by Martin L Roth
parent 0014bce46b
commit 14c49e3646
1 changed files with 1 additions and 1 deletions

View File

@ -845,7 +845,7 @@ sub read_words {
next;
}
$$wordsRef .= '|' if ($$wordsRef ne "");
$$wordsRef .= '|' if (defined $$wordsRef);
$$wordsRef .= $line;
}
close($file);