Remove redundant parentheses from the return statement

(cherry picked from commit 0258850f20)
This commit is contained in:
Ondřej Surý
2024-11-19 10:38:03 +01:00
parent 2044a64d8b
commit 58a15d38c2
451 changed files with 11483 additions and 11508 deletions

View File

@@ -43,7 +43,7 @@ isc_stdtime_now(void) {
INSIST(ts.tv_sec > 0 && ts.tv_nsec >= 0 &&
ts.tv_nsec < (long)NS_PER_SEC);
return ((isc_stdtime_t)ts.tv_sec);
return (isc_stdtime_t)ts.tv_sec;
}
void
@@ -55,6 +55,6 @@ isc_stdtime_tostring(isc_stdtime_t t, char *out, size_t outlen) {
/* time_t and isc_stdtime_t might be different sizes */
when = t;
INSIST((ctime_r(&when, out) != NULL));
INSIST(ctime_r(&when, out) != NULL);
*(out + strlen(out) - 1) = '\0';
}