From f5a033dd24945fdd2406c66fda606bec2995ebce Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Deuc=D0=B5?= <shurd@sasktel.net>
Date: Fri, 3 Jan 2025 16:13:56 -0500
Subject: [PATCH] Annotate risky call to random()

---
 src/xpdev/genwrap.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/xpdev/genwrap.c b/src/xpdev/genwrap.c
index d1c6270628..ad549557f3 100644
--- a/src/xpdev/genwrap.c
+++ b/src/xpdev/genwrap.c
@@ -688,6 +688,7 @@ long xp_random(int n)
 	limit = ((1UL<<((sizeof(long)*CHAR_BIT)-1)) / n) * n - 1;
 
 	while(1) {
+		/* coverity[dont_call] */
 		curr=random();
 		if(curr <= limit)
 			return(curr % n);
-- 
GitLab