Skip to content

Commit

Permalink
Remove redundant coverity annotation
Browse files Browse the repository at this point in the history
  • Loading branch information
omoerbeek committed Dec 6, 2023
1 parent 86d6338 commit f4cd754
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion pdns/axfr-retriever.cc
Original file line number Diff line number Diff line change
Expand Up @@ -175,7 +175,6 @@ void AXFRRetriever::timeoutReadn(uint16_t bytes, uint16_t timeoutsec)
int n=0;
int numread;
while(n<bytes) {
// coverity[store_truncates_time_t]
int res=waitForData(d_sock, static_cast<int>(timeoutsec - (time(nullptr) - start)));
if(res<0)
throw ResolverException("Reading data from remote nameserver over TCP: "+stringerror());
Expand Down

0 comments on commit f4cd754

Please sign in to comment.