From 7ba7437fc31310e256b9c92dd72078c7bb396184 Mon Sep 17 00:00:00 2001 From: Thierry Vignaud Date: Fri, 30 Aug 2013 03:56:57 +0200 Subject: coverity: add a comment about "Argument cannot be negative" "fd" is passed to a parameter that cannot be negative. --- URPM.xs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/URPM.xs b/URPM.xs index 03b11a2..287efbc 100644 --- a/URPM.xs +++ b/URPM.xs @@ -985,7 +985,7 @@ open_archive(char *filename, int *empty_archive) { } } } - close(fd); + close(fd); // we rely on EBADF in testsuite return rfd; } -- cgit v1.2.1