Fossil SCM

Fix harmless compiler warnings.

drh 2018-06-30 15:40 trunk
Commit 50daa540f8881cb022600fefcba3f20f44175e282df32006113935272bbcde2b
1 file changed +1 -1
+1 -1
--- src/email.c
+++ src/email.c
@@ -18,10 +18,11 @@
1818
** Email notification features
1919
*/
2020
#include "config.h"
2121
#include "email.h"
2222
#include <assert.h>
23
+#include <time.h>
2324
2425
/*
2526
** Maximum size of the subscriberCode blob, in bytes
2627
*/
2728
#define SUBSCRIBER_CODE_SZ 32
@@ -524,11 +525,10 @@
524525
** read the Blobs and send them onward to the email system, but it will
525526
** not free them.
526527
*/
527528
void email_send(EmailSender *p, Blob *pHdr, Blob *pBody){
528529
Blob all, *pOut;
529
- char *zDate;
530530
u64 r1, r2;
531531
if( fossil_strcmp(p->zDest, "off")==0 ){
532532
return;
533533
}
534534
if( fossil_strcmp(p->zDest, "blob")==0 ){
535535
--- 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

Keyboard Shortcuts

Open search /
Next entry (timeline) j
Previous entry (timeline) k
Open focused entry Enter
Show this help ?
Toggle theme Top nav button