We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 362776b commit 84dd399Copy full SHA for 84dd399
src/date.cpp
@@ -1271,13 +1271,13 @@ struct tzhead {
1271
tdelta = tdays / DAYSPERLYEAR;
1272
if (! ((! TYPE_SIGNED(time_t) || INT_MIN <= tdelta)
1273
&& tdelta <= INT_MAX))
1274
- return NULL; // #nocov
+ return NULL; // #nocov
1275
idelta = (int)tdelta;
1276
if (idelta == 0)
1277
idelta = (tdays < 0) ? -1 : 1;
1278
newy = y;
1279
if (increment_overflow(&newy, idelta))
1280
- return NULL;
1281
leapdays = leaps_thru_end_of(newy - 1) -
1282
leaps_thru_end_of(y - 1);
1283
tdays -= ((time_t) newy - y) * DAYSPERNYEAR;
0 commit comments