Remove redundant parentheses from the return statement
(cherry picked from commit 0258850f20)
This commit is contained in:
@@ -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';
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user