Skip to content

Commit

Permalink
Coverity 1506566: unchecked return value
Browse files Browse the repository at this point in the history
There isn't much else that can be done here unfortunately.

Reviewed-by: Tomas Mraz <[email protected]>
Reviewed-by: Dmitry Belyavskiy <[email protected]>
Reviewed-by: Hugo Landau <[email protected]>
(Merged from openssl#18799)

(cherry picked from commit 358103b)
  • Loading branch information
paulidale committed Jul 17, 2022
1 parent 1d6c456 commit 87dcdcc
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion crypto/bio/bss_dgram.c
Original file line number Diff line number Diff line change
Expand Up @@ -1914,7 +1914,8 @@ static void get_current_time(struct timeval *t)
t->tv_sec = (long)(now_ul / 10000000);
t->tv_usec = ((int)(now_ul % 10000000)) / 10;
# else
gettimeofday(t, NULL);
if (gettimeofday(t, NULL) < 0)
perror("gettimeofday");
# endif
}

Expand Down

0 comments on commit 87dcdcc

Please sign in to comment.