fix clang build (return values)
This commit is contained in:
parent
8031ce4ac9
commit
a2b7bc1393
13
mail/elm/patches/patch-src_calendar_c
Normal file
13
mail/elm/patches/patch-src_calendar_c
Normal file
@ -0,0 +1,13 @@
|
||||
$OpenBSD: patch-src_calendar_c,v 1.1 2017/05/07 18:01:21 espie Exp $
|
||||
|
||||
Index: src/calendar.c
|
||||
--- src/calendar.c.orig
|
||||
+++ src/calendar.c
|
||||
@@ -37,6 +37,7 @@ extern int errno;
|
||||
|
||||
char *error_description();
|
||||
|
||||
+void
|
||||
scan_calendar()
|
||||
{
|
||||
FILE *calendar;
|
14
mail/elm/patches/patch-src_edit_c
Normal file
14
mail/elm/patches/patch-src_edit_c
Normal file
@ -0,0 +1,14 @@
|
||||
$OpenBSD: patch-src_edit_c,v 1.1 2017/05/07 18:01:21 espie Exp $
|
||||
|
||||
Index: src/edit.c
|
||||
--- src/edit.c.orig
|
||||
+++ src/edit.c
|
||||
@@ -70,7 +70,7 @@ edit_mailbox()
|
||||
int len;
|
||||
|
||||
if (!current_folder)
|
||||
- return;
|
||||
+ return(0);
|
||||
|
||||
if(current_folder->folder_type == SPOOL) {
|
||||
if(save_file_stats(current_folder->cur_folder) != 0) {
|
Loading…
x
Reference in New Issue
Block a user