X-Git-Url: http://git.marmaro.de/?a=blobdiff_plain;f=uip%2Fpick.c;h=2d9b76eb039545a6c5118257c3d492f341d2d60e;hb=a139e1ddbbe5e7fe89d7eb4a5dc16d4b9698960a;hp=afbcf88cabc79009b8b0be5ae598b7851942e6a9;hpb=56a805299de35d8924969138aef4d0f1580daa6d;p=mmh diff --git a/uip/pick.c b/uip/pick.c index afbcf88..2d9b76e 100644 --- a/uip/pick.c +++ b/uip/pick.c @@ -68,7 +68,7 @@ static struct swit switches[] = { static int listsw = -1; -static int putzero_done (int); +static void putzero_done (int) NORETURN; int main (int argc, char **argv) @@ -286,15 +286,15 @@ main (int argc, char **argv) seq_save (mp); /* synchronize message sequences */ context_save (); /* save the context file */ folder_free (mp); /* free folder/message structure */ - return done (0); + done (0); + return 1; } -static int +static void putzero_done (int status) { if (listsw && status && !isatty (fileno (stdout))) printf ("0\n"); exit (status); - return 1; /* dead code to satisfy the compiler */ }