Fossil SCM
Fix harmless compiler warnings.
Commit
50daa540f8881cb022600fefcba3f20f44175e282df32006113935272bbcde2b
Parent
429ae9b73674f79…
1 file changed
+1
-1
+1
-1
| --- src/email.c | ||
| +++ src/email.c | ||
| @@ -18,10 +18,11 @@ | ||
| 18 | 18 | ** Email notification features |
| 19 | 19 | */ |
| 20 | 20 | #include "config.h" |
| 21 | 21 | #include "email.h" |
| 22 | 22 | #include <assert.h> |
| 23 | +#include <time.h> | |
| 23 | 24 | |
| 24 | 25 | /* |
| 25 | 26 | ** Maximum size of the subscriberCode blob, in bytes |
| 26 | 27 | */ |
| 27 | 28 | #define SUBSCRIBER_CODE_SZ 32 |
| @@ -524,11 +525,10 @@ | ||
| 524 | 525 | ** read the Blobs and send them onward to the email system, but it will |
| 525 | 526 | ** not free them. |
| 526 | 527 | */ |
| 527 | 528 | void email_send(EmailSender *p, Blob *pHdr, Blob *pBody){ |
| 528 | 529 | Blob all, *pOut; |
| 529 | - char *zDate; | |
| 530 | 530 | u64 r1, r2; |
| 531 | 531 | if( fossil_strcmp(p->zDest, "off")==0 ){ |
| 532 | 532 | return; |
| 533 | 533 | } |
| 534 | 534 | if( fossil_strcmp(p->zDest, "blob")==0 ){ |
| 535 | 535 |
| --- src/email.c | |
| +++ src/email.c | |
| @@ -18,10 +18,11 @@ | |
| 18 | ** Email notification features |
| 19 | */ |
| 20 | #include "config.h" |
| 21 | #include "email.h" |
| 22 | #include <assert.h> |
| 23 | |
| 24 | /* |
| 25 | ** Maximum size of the subscriberCode blob, in bytes |
| 26 | */ |
| 27 | #define SUBSCRIBER_CODE_SZ 32 |
| @@ -524,11 +525,10 @@ | |
| 524 | ** read the Blobs and send them onward to the email system, but it will |
| 525 | ** not free them. |
| 526 | */ |
| 527 | void email_send(EmailSender *p, Blob *pHdr, Blob *pBody){ |
| 528 | Blob all, *pOut; |
| 529 | char *zDate; |
| 530 | u64 r1, r2; |
| 531 | if( fossil_strcmp(p->zDest, "off")==0 ){ |
| 532 | return; |
| 533 | } |
| 534 | if( fossil_strcmp(p->zDest, "blob")==0 ){ |
| 535 |
| --- src/email.c | |
| +++ src/email.c | |
| @@ -18,10 +18,11 @@ | |
| 18 | ** Email notification features |
| 19 | */ |
| 20 | #include "config.h" |
| 21 | #include "email.h" |
| 22 | #include <assert.h> |
| 23 | #include <time.h> |
| 24 | |
| 25 | /* |
| 26 | ** Maximum size of the subscriberCode blob, in bytes |
| 27 | */ |
| 28 | #define SUBSCRIBER_CODE_SZ 32 |
| @@ -524,11 +525,10 @@ | |
| 525 | ** read the Blobs and send them onward to the email system, but it will |
| 526 | ** not free them. |
| 527 | */ |
| 528 | void email_send(EmailSender *p, Blob *pHdr, Blob *pBody){ |
| 529 | Blob all, *pOut; |
| 530 | u64 r1, r2; |
| 531 | if( fossil_strcmp(p->zDest, "off")==0 ){ |
| 532 | return; |
| 533 | } |
| 534 | if( fossil_strcmp(p->zDest, "blob")==0 ){ |
| 535 |