1
0
mirror of https://github.com/sqlite/sqlite.git synced 2025-08-08 14:02:16 +03:00

Attempt to fix harmless warnings generated by GCC and Clang runtime analyzers.

FossilOrigin-Name: b522c95ddcd7046dca756f4d1a1e90c34dbcab64
This commit is contained in:
drh
2015-07-15 18:04:48 +00:00
parent 3cf9c12008
commit 618ee61e04
4 changed files with 12 additions and 9 deletions

View File

@@ -355,7 +355,7 @@ static void computeYMD(DateTime *p){
A = Z + 1 + A - (A/4);
B = A + 1524;
C = (int)((B - 122.1)/365.25);
D = (36525*C)/100;
D = (36525*(C&32767))/100;
E = (int)((B-D)/30.6001);
X1 = (int)(30.6001*E);
p->D = B - D - X1;